> 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 -- Gllug mailing list - Gllug at gllug.org.uk http://lists.gllug.org.uk/mailman/listinfo/gllug