In bash script, if I do this:
cat infile >> outfile
the content of "infile" is added from the last line of "outfile".
infile:
foo
bar
outfile:
superfoo
superbar
after cat command:
superfoo
superbar
foo
bar
but I want:
foo
bar
superfoo
superbar
How can I change this?