- #1
frankliuao
- 3
- 0
awk '{$1=$1}1' file.txt
This command can delete leading spaces of file.txt.
But why? Anyone can tell me what $1=$1 does and the single 1 does?
THanks,
This command can delete leading spaces of file.txt.
But why? Anyone can tell me what $1=$1 does and the single 1 does?
THanks,