<(head --lines=-1 $1) && return 0;
cat <(tail -1 $1) <( swap_until_one_left <(head --lines=-1 $1 ) ); }
[EMAIL PROTECTED]:~$ swap_until_one_left simple_test_file
3
malloc: ../bash/subst.c:4135: assertion botched
realloc: start and end chunk sizes differ
-Dave
davedoom wrote:
&
hi guys,
I am trying to learn to write recursive functions in bash. As one of my
first attempts i wrote this program to emulate the system provided tac
command:
after playing with it for a good bit, it no longer produces this error
message:
malloc: ../bash/subst.c:4135: assertion botched
reallo