Q1. why does sed lose the first line?

da...@david:~/test$ cat blah
the quick
brown fox jumps
over
the lazy
dog
da...@david:~/test$ cat blah | while read line ; do sed s/t/T/ ; done
brown fox jumps
over
The lazy
dog
da...@david:~/test$

Q2. what does the @ mean?

da...@david:~$ date -d @1174306440
Mon Mar 19 23:14:00 EST 2007

I got this from a google search - the string is from a mysql timestamp which didn't include the @ I can't find a reference to @ in the date man page.

thanks...

David.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to