- denum doesn't seem to work with plain /bin/sh,
./denum: 9: ./denum: [[: not found
- Slight nitpick over your perl regex:
$ echo '(prn "hail satan")' > 666thedarklordcometh666.wart $ ls | grep thedarklordcometh 666thedarklordcometh666.wart $ ./denum $ ls | grep thedarklordcometh 666thedarklordcometh666.wart thedarklordcometh.wart
s/^[0-9]*//
find . maxdepth 1 -type l -exec rm {} \;