====== AWK - Delete leading whitespace and tabs from the beginning of each line ====== awk '{ sub(/^[ \t]+/, ""); print }' file.txt ---- ===== Example ===== aaaaa bbbbb ccccc ddddd eeeee returns: aaaaa bbbbb ccccc ddddd eeeee