Thursday, June 28, 2018

awk etc

awk '!x[$0]++'

will print all lines except duplicates (no sorting!)

amazing

also

    echo "UPPER CASE STRING" | awk '{print toupper(substr($1,1,1)) tolower(substr($0,2)); }'

chrome://flags

No comments: