$ 0 0 Linux 1. ファイル内のスペースを置換する sed -i 's/ //g' ファイル名.txt 2. grep で引いた引数を別のコマンドに渡すことができます。 grep '検索文字列' ファ…