X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,c30b1a871cc50442 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2003-05-16 15:04:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!cox.net!news-xfer.cox.net!p01!fed1read07.POSTED!not-for-mail Newsgroups: alt.ascii-art From: Faux_Pseudo Subject: Re: Fokker F100 References: <54500FC4F4D2D611A5B00020AFF88A0516BE7F@proliant.tsd-ltd.demon.co.uk> Reply-To: Faux_Pseudo@yahoo.comERCIAL X-PGP-Server: wwwkey.nl.pgp.net X-Why: are you reading this? X-PGP-KeyID: CF4DA06B Message-ID: User-Agent: slrn/0.9.7.4 (Linux) Lines: 59 Date: Fri, 16 May 2003 22:04:22 GMT NNTP-Posting-Host: 68.107.9.23 X-Complaints-To: abuse@cox.net X-Trace: fed1read07 1053122662 68.107.9.23 (Fri, 16 May 2003 18:04:22 EDT) NNTP-Posting-Date: Fri, 16 May 2003 18:04:22 EDT Organization: Cox Communications Xref: archiver1.google.com alt.ascii-art:23154 _.--- Anonymous spoke in alt.ascii-art --------._ > Should be no problem to mark the new ones as New - but how long do they stay > "New" for ?? I keep my stuff new until the next webiste update. I suppose that if I were to make frequent updateds that I might start including the date that each item was created. #!/bin/bash for f in * ; 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}') if [[ "$MONTH" != "May" ]] ; then continue else if [ $DATE -gt 6 ] ; then FILEDATA=$(echo $f NEW: $MONTH/$DATE/2003 | sed 's/.html//') echo "$FILEDATA" fi fi done >> index.html EOF This is a bit more complicated then what I normally do but would produce much better results: ellen_stratton NEW: May/12/2003 laurie_wallace NEW: May/13/2003 My normal method is: ls -l | grep -v May[[:blank:]]*6 | awk '{print$NF}' >> index.html Looks like I have a new way of doing things... > Do you know where I could get a decent free text-only counter from ? I think I asked about this a long time ago in on of the html groups... Google Search: author:faux_pseudo html counter http://groups.google.com/groups?q=author%3Afaux_pseudo%20html%20counter&ie=ISO-8859-1&hl=en > Because I can't upload and use my own CGIs, it would need to run from > another server. Any suggestions ? Ask someone who works with websites. =) I only know[0] enough html to get by. Anything more fancy then I already know is too much for me to bother with. I am an ascii artist and a programer, but I don't want to have to blend the two via complex html. [0] and care to know '---...____ Faux_Pseudo ________________...---~~~ -- ICQ=66618055 : http://asciipr0n.com/fp UPDATED=05/06 YIM=faux_pseudo : Rev: erkeley_soundcheck_05_30_70/04_-_Earth_Blues.mp3 We make a life by: Now: /mnt/box/hendrix/Hendrix_Misc/03_-_Tax_Free.mp3 what we give away: Fwd: /mnt/box/hendrix/Hendrix_Misc/03_-_Tax_Free.mp3