MalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 8 days agoAn awkward realizationstartrek.websiteimagemessage-square76fedilinkarrow-up1475arrow-down17
arrow-up1468arrow-down1imageAn awkward realizationstartrek.websiteMalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 8 days agomessage-square76fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up10arrow-down2·8 days agoEverything you do with awk, you can do with python, and it will also be readable.
minus-squareSkaveRat@discuss.tchncs.delinkfedilinkarrow-up11arrow-down1·8 days agoand perl, if you want it less readable
minus-squareLaurel Raven@lemmy.ziplinkfedilinkEnglisharrow-up2·8 days agoOr PowerShell if you want it extra verbose
minus-squareNaibofTabr@infosec.publinkfedilinkEnglisharrow-up7·edit-28 days 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.
Everything you do with
awk
, you can do withpython
, and it will also be readable.and
perl
, if you want it less readableOr you are old and crazy
Or PowerShell if you want it extra verbose
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.