4 ms·
AWK seems to be having a renaissance, and I wonder if it is only because Perl sort of lost favor for a while to Python and others, while Perl 6 being renamed Ra
by eggy 5y ago
AWK seems to be having a renaissance, and I wonder if it is only because Perl sort of lost favor for a while to Python and others, while Perl 6 being renamed Raku added further confusion. Using options like 'perl -pie' gives you a nice subsystem to perform your AWK-like operations, and you have a lot more in Perl to back it up if needed. I am seeing AWK pop up here and in other forums, but maybe I am just focused on it for now.
- asicsp 5y ago>AWK seems to be having a renaissance I'd say grep, sed and awk are essential tools to know for cli text processing. I think more programmers are getting used to cli (git, wsl, etc) which would lead to these tools. I reach for perl when I need its advanced regexp features, built-in functions, etc.
- eggy 5y agoI agree especially since I started programming in 1978 and awk had just been created a year earlier. I did not learn of it until the late 80s with gawk, and sed much later. I forget when I first touched grep. I do remember using perl quite a bit for text munging in the early 90s. I currently use Powershell a lot more because of its convenience in Windows, and all of the assemblies you can call on, and I still use awk, grep, and others through WSL2. My favorite language, J, is fun for the same tasks [0,1]. [0] jsoftware.com [1] https://dev.to/bakerjd99/jetl-j-extract-transform-and-load-9cm