3 ms·
Thanks for the tips. I put them in a file, because I saw someone using ed last year in a script and started looking at ex from there. diff -e file1 file2 >
by JoshMnem 8y ago
Thanks for the tips. I put them in a file, because I saw someone using ed last year in a script and started looking at ex from there.
diff -e file1 file2 > ed_script
Using echo (along with your other suggestions) is probably better for that example.
- teddyh 8y agoNote: I forgot the “--max-args=1” option to xargs.