[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] HTML Logs



> echo `<h1>Log files in /var/log</h1><p>`
> echo `<table border=1> <tr><th>Name<th>date<th>size<tr>
> ls -ld /var/log/* |  \
> sed -e "s/^[-rwxds]*[ 0-9]* \([a-z0-9A-Z]* *\)\{2\} \([0-9]*\)
> \([A-Za-z]\{3\} *[0-9]\{1,2\} *[0-9:]*\)\/\4\5>\5<\/a><td>\3<td
> align=RIGHT>
> \2<tr>/"echo `</table>`

Erm, you haven't closed the quotes on line 7.


Jonathan
The quote (") on line 7 is I think the closing quote for the opening one on
line 4.  I'd imagine the email client split the command over three lines.

ChrisJ

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 13/05/2003


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.