ubuntu:xargs:trim_blank_spaces_from_a_string
Differences
This shows you the differences between two versions of the page.
ubuntu:xargs:trim_blank_spaces_from_a_string [2021/06/22 12:19] – created peter | ubuntu:xargs:trim_blank_spaces_from_a_string [2021/06/22 12:19] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - xargs - Trim blank spaces from a String ====== | ====== Ubuntu - xargs - Trim blank spaces from a String ====== | ||
+ | |||
+ | Just pipe the string to the xargs command. | ||
+ | |||
+ | <code bash> | ||
+ | echo " | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | Hello world! | ||
+ | </ | ||
+ | |||
ubuntu/xargs/trim_blank_spaces_from_a_string.1624364367.txt.gz · Last modified: 2021/06/22 12:19 by peter