Created
May 7, 2023 16:10
-
-
Save sub314xxl/e552e5729d3d3b60151986476b0cf654 to your computer and use it in GitHub Desktop.
AWK multi space remover
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# chmod +x trim.awk | |
# mv trim.awk /usr/local/bin/trim and m | |
# use: 'aaa a a ' | trim | |
awk '{$1=$1};1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment