MalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 20 hours agoAn awkward realizationstartrek.websiteimagemessage-square73fedilinkarrow-up1412arrow-down16
arrow-up1406arrow-down1imageAn awkward realizationstartrek.websiteMalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 20 hours agomessage-square73fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up10arrow-down2·17 hours agoEverything you do with awk, you can do with python, and it will also be readable.
minus-squareNaibofTabr@infosec.publinkfedilinkEnglisharrow-up7·edit-212 hours agoHmm, but you have to install and run the Python environment for that. AWK is typically present on *NIX systems already. Python seem like overkill for basic text processing tasks.
minus-squareSkaveRat@discuss.tchncs.delinkfedilinkarrow-up9arrow-down1·16 hours agoand perl, if you want it less readable
minus-squareLaurel Raven@lemmy.ziplinkfedilinkEnglisharrow-up1·11 hours agoOr PowerShell if you want it extra verbose
Everything you do with
awk
, you can do withpython
, and it will also be readable.Hmm, but you have to install and run the Python environment for that. AWK is typically present on *NIX systems already. Python seem like overkill for basic text processing tasks.
On Debian the
python
is preinstalled.and
perl
, if you want it less readableOr you are old and crazy
Or PowerShell if you want it extra verbose