Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #56481

Re: How many ways can you run a script?

From Fritz Wuehler <fritz@spamexpire-202405.rodent.frell.theremailer.net>
Subject Re: How many ways can you run a script?
References <v372oq462c@dont-email.me>
Message-ID <c2622bd3a44d3b386bb1f019c92dc41e@msgid.frell.theremailer.net> (permalink)
Date 2024-05-30 03:48 +0200
Newsgroups comp.os.linux.misc
Organization dizum.com - The Internet Problem Provider

Show all headers | View raw


Woozy Song <suzyw...@outlook.com> [WS]:
WS> I know these are not all equivalent and may have idiosyncracies.            
 
Here come a few more using the shell's process substitution:

$ sh <(awk 1 myscript)

$ sh <(sed : myscript)

$ sh <(dd if=myscript 2>/dev/null)

Back to comp.os.linux.misc | Previous | Next | Find similar | Unroll thread


Thread

Re: How many ways can you run a script? Fritz Wuehler <fritz@spamexpire-202405.rodent.frell.theremailer.net> - 2024-05-30 03:48 +0200

csiph-web