[clug] 'dd' command detecting EOF: an example script

Steve Jenkin sjenkin at canb.auug.org.au
Wed May 15 06:47:18 UTC 2019


Peter,

thanks very much for that - hadn’t caught up with GNU split ‘chunking’ to a command.

Doesn’t write to STDOUT, so extra work needed to insert into a pipeline.

>  --filter=COMMAND
>               write to shell COMMAND; file name is $FILE

cheers
steve

> On 15 May 2019, at 10:25, Peter Barker <pbarker at barker.dropbear.id.au> wrote:
> 
> How about split(1) with "--filter"?  Never tried it myself, mind you - I just recalled "split" and thought, "wouldn't it be neat if...".

--
Steve Jenkin, IT Systems and Design 
0412 786 915 (+61 412 786 915)
PO Box 38, Kippax ACT 2615, AUSTRALIA

mailto:sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin



More information about the linux mailing list