Quantcast
Channel: Bashタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 2808

xargs で改行をデリミタとして処理させる

$
0
0

xargs が、(xargsに対し)指定されたコマンドに対して渡そうとする引数は、xargs への標準入力に対するデリミタで区切られて渡されることになる。

ls コマンドを使用する例

xargs -d '\n' ls

Viewing all articles
Browse latest Browse all 2808

Trending Articles