bug-gawk
[Top][All Lists]
Advanced

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

Re: (No subject)


From: Wolfgang Laun
Subject: Re: (No subject)
Date: Sat, 4 Apr 2020 14:00:57 +0200

What do you mean by "curl"?

Redirect the file to standard input:
   $ awk '{print;}' <some/file
prints all lines. No getline, no pipe.

And don't get fresh with me, kiddo.
-W

On Sat, 4 Apr 2020 at 13:53, john doe <address@hidden> wrote:

>
>
> 04.04.2020, 14:44, "Wolfgang Laun" <address@hidden>:
> > awk can read from standard input - that's what it was designed for.
>
> Well, awk certainly can but you for sure cannot:
>
> >>> So, if I want to avoid pipes, and need just one self-containing script
> to be called (and also don't want to spawn any excessive processes), the
> solution to that problem would be..?
>
> >> I actually need the script to process the curl's output, so it's either
> system() or getline, as far as I understand?
>
>
> Thanks for you interest anyway.
>
>
> --
> JD
>
>
>


reply via email to

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