awk:delete_leading_whitespace_and_tabs_from_the_beginning_of_each_line
AWK - Delete leading whitespace and tabs from the beginning of each line
awk '{ sub(/^[ \t]+/, ""); print }' file.txt
Example
awk/delete_leading_whitespace_and_tabs_from_the_beginning_of_each_line.txt · Last modified: 2021/01/06 16:18 by peter