[Gllug] Checking file lists and creating PDF

Richard Jones rich at annexia.org
Sat Jul 5 18:21:51 UTC 2008


On Sat, Jul 05, 2008 at 06:52:04PM +0100, Andy Millar wrote:
> 
> > Easily:
> > 
> >   ls -1 > /tmp/actual
> >   seq 1 4265 | sed 's/$/.jpg/' > /tmp/expected
> >   diff -u /tmp/actual /tmp/expected
> 
> 
> You probably want to use seq -w

/me checks the seq manpage.

Yes, good idea!

Rich.

-- 
Richard Jones
Red Hat
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list