[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (No subject)
From: |
Davide Brini |
Subject: |
Re: (No subject) |
Date: |
Sat, 4 Apr 2020 14:24:21 +0200 |
On Sat, 04 Apr 2020 15:12:21 +0300, john doe <address@hidden> wrote:
>
>
> 04.04.2020, 15:04, "Davide Brini" <address@hidden>:
>
> > What's wrong with curl blah | awk ... ?
>
> Nothing is. But as I've said in another reply, I want to avoid pipes
> here. So, not that something's wrong but just for this particular task I
> want to understand, either I'm using getline (or system) wrong, or awk is
> doomed to lose some milliseconds if used this way, and there's no
> workaround it.
You can also use (with shells that support it) the form
awk ... <(curl blah)
so awk thinks it's reading a regular file, but behind
the scenes the shell is still creating a pipe.
--
D.
- Re: (No subject), (continued)
- Re: (No subject), Davide Brini, 2020/04/04
- Re: (No subject), john doe, 2020/04/04
- Re: (No subject), Wolfgang Laun, 2020/04/04
- Re: (No subject), john doe, 2020/04/04
- Re: (No subject), Wolfgang Laun, 2020/04/04
- Re: (No subject), john doe, 2020/04/04
- Re: (No subject), Wolfgang Laun, 2020/04/04
- Re: (No subject),
Davide Brini <=