Wednesday, June 19, 2019

Is There a Lint Equivalent for SED?

Someone joked that the problem with writing something insed is that it is written in sed.  I have never quite bought this claim until now.  Any guesses where the unmatched apostrophe is?
$ sed 's|\"\([A-z0-9 ]*\),"\(\[A-z0-9 \]*\), \([0-9/]*\), \([0-9]*\)|"\1," \t\2
,\t\3,\t\4|g'| sed 's/\"\"/"/g'  >articleColumn1.txt

1 comment: