MalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 1 month agoAn awkward realizationstartrek.websiteimagemessage-square76fedilinkarrow-up1477arrow-down17
arrow-up1470arrow-down1imageAn awkward realizationstartrek.websiteMalikMuaddibSoong@startrek.website to linuxmemes@lemmy.worldEnglish · 1 month agomessage-square76fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up10arrow-down2·1 month agoEverything you do with awk, you can do with python, and it will also be readable.
minus-squareSkaveRat@discuss.tchncs.delinkfedilinkarrow-up10arrow-down1·1 month agoand perl, if you want it less readable
minus-squareLaurel Raven@lemmy.ziplinkfedilinkEnglisharrow-up2·1 month agoOr PowerShell if you want it extra verbose
minus-squareNaibofTabr@infosec.publinkfedilinkEnglisharrow-up7·edit-21 month 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.