You must log in or register to comment.
- Papamousse ( @Frederic@beehaw.org ) English3•1 year ago
Hummmm regex, it would be possible to code this in awk I think
I thought about it but there are two complications here: The code is recursive, and it calls an external shell script. I’m sure there are ways to do that in awk, but I’m not too much of an awk guru, so I decided to leave my awking to self-contained smaller scripts. Also, considering I need to spawn subprocesses anyway for this, Bash wouldn’t be a bad choice since it’s built for that.
- Nowhereman ( @lemmy@lemmy.stonansh.org ) English1•1 year ago
How do I get this working?
just add it to your .bashrc