Celestial Weasel (celestialweasel) wrote,
Celestial Weasel
celestialweasel

awk

Having just written an awk script, I can conclusively say I have forgotten how to do things in awk e.g. forgetting that sub(this,that,thing)
a) is called sub not subst
b) has the parameters in that order
c) changes the value of the 3rd parameter whilst returning something else

I am surprisingly sad about this.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments