Line 446:
qsort() {
lc="1.$1" ; gc="2.$1"
▲ while read n
▲ test $pivot -gt $n && echo $n >> $lc || echo $n >> $gc
▲ test "$pivot" != "" && ( (cat -s $lc | qsort $lc ); echo $pivot; (cat -s $gc | qsort $gc ))
rm -f $lc $gc;
}
|
edits