Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: iso646.h Date: Wed, 31 Jan 2024 10:35:52 -0800 Organization: None to speak of Lines: 27 Message-ID: <87plxhs647.fsf@nosuchdomain.example.com> References: <87jznu1c4v.fsf@nosuchdomain.example.com> <86zfwnc34o.fsf@linuxsc.com> <86il3bb7rb.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="e9ab33cd51e38659416bab92bcd2f21f"; logging-data="1731057"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/db7KHSbPyEHOXPFRax0bf" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:ICgPN07XcBPNpoT/dlEdFWqqjCc= sha1:od+KYK2W0zpKCZG0uMbgTecrUoA= Xref: csiph.com comp.lang.c:381394 David Brown writes: > On 31/01/2024 15:46, Janis Papanagnou wrote: >> On 31.01.2024 15:09, David Brown wrote: >>> >>> I would expect that the majority of uses of "cat" are with just one >>> file, >> And of course just because of ignorance; the majority of (but not >> all) >> uses with just one file are UUOCs. > > I regularly see it as more symmetrical and clearer to push data left > to right. So I might write "cat infile | grep foo | sort > outfile". > Of course I could use "<" redirection, but somehow it seems more > natural to me to have this flow. I'll use "<" for simpler cases. > > But perhaps this is just my habit, and makes little sense to other people. You can also use: < infile grep foo | sort > outfile Redirections don't have to be written after a command. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Medtronic void Void(void) { Void(); } /* The recursive call of the void */