All pastes #549256 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-08 01:51 UTC
rendered paste body
unset x
for i in /tmp/todisc-work*; do
    echo suffix[x++]=$(awk -F 'k' '{print $2}' <<< "$i")
done
new_suffix=0
for s in ${suffix[@]}; do
    ((s > new_suffix)) && new_suffix=$((s+1))
done