bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: missing man example


From: root
Subject: Re: missing man example
Date: Sun, 30 Jun 2002 14:29:57 +0000 (UTC)

> > ls | awk '{print |"echo for each line pass " $0 "to echo"} '
> First, this has a bug in it.  The pipeline should be
> closed, otherwise it's possible to run out of processes:
>       ls | awk '{ print |"echo for each line pass " $0 "to echo"
>                   close("echo for each line pass " $0 "to echo") }'
> Second, it is probably better to do it this way:
>       ls | awk '{ system("echo for each line pass " $0 "to echo") }'
> Third, it's not clear to me why the lack of this example
> is a problem.  Can you justify what is so special about it
> that it absolutely has to be included on the man page?

it is _very_ usefull. as you see i did it wrong even with help of few
people :/
maybe URL to awk tutor online would be sufficient ? i really lack in this
for perl, awk and other languages...

thanks for help !




reply via email to

[Prev in Thread] Current Thread [Next in Thread]