Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jstimpfle
on Oct 25, 2017
|
parent
|
context
|
favorite
| on:
Learn to use Awk with hundreds of examples
The advantage of awk is that it is faster in some cases and a little more convenient for simple command-lines due to automatic field splitting. The disadvantage is that it swallows errors silently even more than perl (I think).
augustk
on Oct 25, 2017
|
next
[–]
Awk is also a part of POSIX.
tmaly
on Oct 25, 2017
|
prev
|
next
[–]
yes I agree, I have seen awk perform faster in some cases, but for the general case, I prefer something a little more flexible like Perl
Annatar
on Oct 25, 2017
|
prev
|
next
[–]
I'd say that AWK's single weakness is a lack of built-in debugger or even `set -x` tracing mode like the shell has.
mathiasrw
on Oct 25, 2017
|
prev
[–]
If you have access to npm in your environment then try rexreplace next time.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: