MalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 15 hours agoAn awkward realizationstartrek.websiteimagemessage-square60fedilinkarrow-up1355arrow-down14
arrow-up1351arrow-down1imageAn awkward realizationstartrek.websiteMalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 15 hours agomessage-square60fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up10arrow-down1·13 hours agoEverything you do with awk, you can do with python, and it will also be readable.
minus-squareNaibofTabr@infosec.publinkfedilinkEnglisharrow-up6·edit-28 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·11 hours agoand perl, if you want it less readable
minus-squareLaurel Raven@lemmy.ziplinkfedilinkEnglisharrow-up1·6 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