Tag Info

New answers tagged

1

Some shells, including bash, allow you to type any literal character (e.g. Ctrl-I for Tab, Ctrl-M for Return) by prefixing it with Ctrl-V, so you could type Ctrl-V Ctrl-I instead of \t wherever it appears in your sed one-liner.


2

How about this. Use of ">>" to append to file rather than overwriting the file each time. rm foo.txt for f in *.dump; do strings $f >> foo.txt; done To aid your reviewing, you might want to also pipe it through "sort -u" to remove any duplicates. Might take a while to run if you've many large .dump files.



Top 50 recent answers are included