in reply to Re: Re: Re: epoch time conversion
in thread epoch time conversion
There's one more thing. Since there's a quoted comma in there, you should use the q() style to quote it. Update: Swapping all " for ' also works, of course, but I always use "q" and "qq" for single-line scripts like this for clarity.
perl -F, -ane 'local $,=q(,); print scalar localtime($F[0]), @F[1..$#F +] ' <junk.dat
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: epoch time conversion
by BrowserUk (Patriarch) on Dec 10, 2002 at 21:42 UTC |