Timeline for Count tabs per line in text file with utils
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 11, 2013 at 16:56 | comment | added | Joseph R. | OK. Got it. I thought tr would respect newline boundaries and produce line-by-line output by default. | |
| Nov 11, 2013 at 16:51 | comment | added | gniourf_gniourf | @JosephR. Because tr -cd \\t will also remove the newline character, and we want to keep this one! | |
| Nov 11, 2013 at 16:47 | comment | added | Joseph R. | Regarding your tr solution, why not just tr -cd "\t" | wc -c? | |
| Nov 11, 2013 at 16:23 | history | answered | gniourf_gniourf | CC BY-SA 3.0 |