Latest Posts
Tags
awk awk examples awk gsub awk substr background run script bash awk curl disk space docker commands docker usage du find and grep Google Analytics grep examples java java example linux awk linux command linux find linux grep linux ls ls -al ls examples ls sort ls sort by size mkdir more is less mv examples mysql mysql example PlantedTank rm sed sed examples sed replace sed tutorial seo Shell tutorial top vim vim examples vim tutorial w wget wordpress
Tag Archives: awk function
awk custom function and examples
Here, you need to use the awk custom function to implement the abs function.
awk ‘function abs(x){return (x < 0) ? -x : x;} {print abs($0)}' Continue reading
Posted in Awk Command, Text Processing
Tagged awk examples, awk function, linux awk, linux command
1 Comment