[clug] Shell scripting problem using 'process substitution' [ >( pipeline ) ]

Sam Couter sam at couter.id.au
Wed Nov 11 22:57:04 UTC 2015


On 12 Nov 2015 9:14 AM, "steve jenkin" <sjenkin at canb.auug.org.au> wrote:
> I found myself running the same grep (for the day) twice over the long
file & counting different things, and wondered if there was a way to use a
pipeline. There is no performance reason to do this - doesn’t take much
time, it’s “just because” :)

> Any suggestions?

Have you considered using a different language? This would be easy in
Python or even Perl. Bash just isn't a good language.


More information about the linux mailing list