X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,5945b627e4ab2b17,start X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2003-05-21 18:46:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!east.cox.net!cox.net!p01!fed1read07.POSTED!not-for-mail Newsgroups: alt.ascii-art From: Faux_Pseudo Subject: [info] butterflies. Reply-To: Faux_Pseudo@yahoo.comERCIAL X-Why: are you reading this X-PGP-KeyID: CF4DA06B Message-ID: User-Agent: slrn/0.9.7.4 (Linux) Lines: 34 Date: Thu, 22 May 2003 01:46:36 GMT NNTP-Posting-Host: 68.107.9.23 X-Complaints-To: abuse@cox.net X-Trace: fed1read07 1053567996 68.107.9.23 (Wed, 21 May 2003 21:46:36 EDT) NNTP-Posting-Date: Wed, 21 May 2003 21:46:36 EDT Organization: Cox Communications Xref: archiver1.google.com alt.ascii-art:23225 I just updated my butterflies page to include everything up to my last post. Changed some of the file names for better scripting of the URLs since I had to edit the code I posted a week or so ago in order to get better results. I wonder what the odds of having three lines of block text up like that so nicely. I guess one can win them all. Comments? #!/bin/bash for f in $(ls | grep -v index*) ; do # I alwasy 'touch' each file in the dir after an update so that I # can spot new files right away when I go for the next update. DATE=$(ls -l $f | awk '{print$7}') MONTH=$(ls -l $f | awk '{print$6}') F=$(echo $f | sed -e 's/_/ /g' -e 's/\<./\u&/g' -e 's/Html//' -e \ 's/-\(\<[a-zA-Z]*\>\)-.$/(\1)/' -e 's/-\(Central African Republic\)-./(\1)/' ) if [[ "$MONTH" != "May" ]] ; then continue else if [ $DATE -ne 8 ] ; then FILEDATA=$(echo $F NEW: $MONTH/$DATE/2003) echo "$FILEDATA" else FILEDATA=$F echo "$FILEDATA" fi fi done | grep -v index >> index.html '---...____ Faux_Pseudo ________________...---~~~ -- .-')) http://asciipr0n.com/fp ('-. | I don't give a damn for a man ' ..- .:" ) Updated ( ":. -.. ' | that can only spell a word one ((,,_;'.;' 05 / 06 ';. ';_,,)) | way. ((_.;'*Faux_Pseudo*':._)) | -- Mark Twain