ubuntu:xargs:trim_blank_spaces_from_a_string
Ubuntu - xargs - Trim blank spaces from a String
Just pipe the string to the xargs command.
echo " Hello world! " | xargs
returns:
Hello world!
ubuntu/xargs/trim_blank_spaces_from_a_string.txt · Last modified: 2021/06/22 12:19 by peter