Questions tagged «whitespace»

空格,制表符或换行符的组合,它们在一行或一列中创建“空白”空间

5
如何使xargs处理cat中的空格和特殊字符?
我有一个file包含名称列表的列表。即: Long Name One (001) Long Name Two (201) Long Name Three (123) ... 带有空格和一些特殊字符。我想用这些名称来制作目录,即: cat file | xargs -l1 mkdir 它使用空格分隔各个目录,即Long,Name,One,Two,Three,而不是 Long Name One (001),Long Name Two (201),Long Name Three (123)。 我怎样才能做到这一点?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.