Surprisingly relevant?
Surprisingly relevant?
Posted May 24, 2020 13:50 UTC (Sun) by mpr22 (subscriber, #60784)In reply to: Surprisingly relevant? by madscientist
Parent article: The state of the AWK
Posted May 24, 2020 17:12 UTC (Sun)
by madscientist (subscriber, #16861)
[Link]
This can be useful in scripting to avoid the complexity of stripping off the unwanted filename.
You're right, grep behaves the same; my bad! I was thinking of some other tools like wc which have different output when given a filename versus reading from stdin.
Surprisingly relevant?