Paul Hodges’ Post

View profile for Paul Hodges, graphic

Scripting SME, DEVOPS/GitOps Automation driver, Refactoring Evangelist, Compulsive Raconteur & unrepentant Disciple of Google Fu

Today's SO - tl;dr: don't use aliases, just make them functions. When writing dynamic code, timing (of interpolation) is everything. Bash stole this person's $1 intended as an AWK variable, resulting in broken code. https://lnkd.in/eRxNB6FH

awk throwing syntax error only when used as alias

awk throwing syntax error only when used as alias

stackoverflow.com

To view or add a comment, sign in

Explore topics