Having trouble piping binary into the split command under Mandrake 9.1
with all the latest updates.

Works fine under RedHat 9

Can someone else confirm a problem ?


#!/bin/sh

# fails after one block
dd bs=1024 count=1024 if=/dev/urandom | split -b 1000000 - zz0

# fails after variable number of blocks
dd bs=1024 count=1024 if=/dev/urandom | cat | split -b 1000000 - zz1

# succeeds
dd bs=1024 count=1024 if=/dev/urandom | bzip2 -9 | split -b 1000000 -
zz2

# succeeds
dd bs=1024 count=1024 if=/dev/urandom of=zz
cat zz | split -b 1000000 - zz3




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to