tech-userlevel archive

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

Re: Proposal: Add option to add dates to write(1)

In article <20120628205453.50bc7f59@adolfputzen>,
Julian Djamil Fagir  <> wrote:

>With shebang, comment and breaking, you end up with appr. seven lines.
>I consider this a linear factor compared to 50. ;-)

1 #!/usr/bin/awk -f
2 {
3       printf "%s %s\n", strftime("%x %X"), $0;
4       fflush;
5 }

Which is exactly an order of magnitude away from 50.


Home | Main Index | Thread Index | Old Index