Timeline for Search and replace to merge or eliminate text lines
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2023 at 21:18 | comment | added | NickD |
Output redirection works fine (at least on Linux). As for the field problem, what happens if you change the $9 to e.g. $8 ? Do you get a different field or still Flags ?. Try on a small portion of the input file (a few records) and post an example in your question. Even if I cannot check, somebody else might be able to. Also, add to your question as many details as you possibly can about how you run these things. Are you using WSL for the Linux layer or something else?
|
|
Jan 17, 2023 at 21:09 | comment | added | Ray Woodcock |
A comprehensive and lucid answer. Thank you! One problem: why do you suppose awk is giving me Flags (field no. 12) instead of BLAKE2 (field no. 9)? Haven't checked every single line of output, but scrolling suggests that is the consistent result. The output came from Windows, but I opened and saved in gedit using Unix/Linux line endings. Also, to get the results into a file, is it OK to just use > output.txt ?
|
|
Jan 17, 2023 at 5:51 | history | answered | NickD | CC BY-SA 4.0 |