Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 28 Feb 2004.
Re: Tran and the Farts

Re: Tran and the Farts

From n46is <nab...@anisp.com> · alt.ascii-art · 28 Feb 2004 15:36 · View full thread · report
Faux_Pseudo wrote:
> #!/bin/bash
> # start bad code that will need updating since
> # it has no error or content checking at all.
> source /home/faux/.bashrc
> FART="$(lynx -dump -source  http://www.asciiartfarts.com/)" 
> START=$(echo "$FART" | grep -n '<pre>' file | tail -1 | awk -F : '{print$1}') 
> TAIL=$(echo "$FART" | grep -n '</pre>' file | tail -1 | awk -F : '{print$1}') 
> LINES=$((TAIL-START)) 
> FART2="$(echo "$FART" | head -$((TAIL-1)) file | tail -$((LINES-1)) )"
> TITLE="$(echo "$FART" | grep title | sed -e 's/<title>//' -e \
>  's/Farts:/Fart for/' -e 's/#.*(//' -e 's/)//' -e 's/<\/title>//')"
> echo "$FART2" > /home/faux/.fart
> newspost  -i news.east.cox.net -f "F0_...@yahoo.com" -F Faux_Tran -n \
>  alt.ascii-art -s "$TITLE" -t /home/faux/.fart 2>/dev/null 1>/dev/null


   Hi Faux, you can simplify the script, since Tran's got
http://www.asciiartfarts.com/current.txt
Go for it.

-nabis
                  (\(__)/)
              .---,-,- \'
              | !( S )  \_
              |   '-'   __)
              |_  _____/
               |-\  | |

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,35663dd26598a70e
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2004-02-28 07:36:33 PST
Path: archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: n46is <nab...@anisp.com>
Newsgroups: alt.ascii-art
Subject: Re: Tran and the Farts
Date: Sat, 28 Feb 2004 09:36:07 -0600
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <404...@anisp.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021216
X-Accept-Language: en-us, en
MIME-Version: 1.0
References: <XbM%b.12549$UU.2106@lakeread01>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abu...@supernews.com
Lines: 29
Xref: archiver1.google.com alt.ascii-art:1404
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2004 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post