How can I do with bashecho "line1 from file2" >> echo "line1 from file1"?
I got a better one:for run in {1..x}; do sed -n "$run,${run}p" file1 >> `sed -n "$run,${run}p" file2`;done
@matrix how about:
i=1;<file1 while read l; do echo $l >> $(sed "${i}q;d" file2); i=$[i+1]; done
Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.
@matrix how about:
i=1;<file1 while read l; do echo $l >> $(sed "${i}q;d" file2); i=$[i+1]; done