MalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 1 个月前An awkward realizationstartrek.websiteimagemessage-square76fedilinkarrow-up1480arrow-down17
arrow-up1473arrow-down1imageAn awkward realizationstartrek.websiteMalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 1 个月前message-square76fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up10arrow-down2·1 个月前Everything you do with awk, you can do with python, and it will also be readable.
minus-squareSkaveRat@discuss.tchncs.delinkfedilinkarrow-up11arrow-down1·1 个月前and perl, if you want it less readable
minus-squareLaurel Raven@lemmy.ziplinkfedilinkEnglisharrow-up2·1 个月前Or PowerShell if you want it extra verbose
minus-squareNaibofTabr@infosec.publinkfedilinkEnglisharrow-up7·edit-21 个月前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.
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.