Okay, here's something semi-related to the last one:
Code:
program:
if $#fanficcat && '/' in $#chapters then
f = re($#chapters, '(.*)/.*', '\1');
s = re($#chapters, '.*/(.*)', '\1');
if s - f >=# 1 then s - f fi
fi
Is there a less kludgey way to handle line 5 so that '0' returns an empty value?