[Gllug] Script for splitting dirs

itsbruce at uklinux.net itsbruce at uklinux.net
Tue Jun 3 13:20:11 UTC 2003


On Tue, Jun 03, 2003 at 01:51:55PM +0100, Tethys wrote:
> 
> itsbruce at uklinux.net writes:
> 
> >Use Perl.  This would be a complete pain to do as a shell script.
> 
> Not really. The only issue is getting the filesize, which is either
> done by parsing the output of ls, or calling a helper application.

I'm not one of those to use Perl in all circumstances, no matter what: a
combination of shell scripts and awk is often all that's needed.  But
bash scripts wouldn't be my choice for manipulating arrays, particularly
if I wanted to do any clever sorting to save space.   To each his own.

-- 
Bruce


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list