トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

Top / linux / System Command Examples / sed examples / sed 複数のスペースを1つのスペースに変換
Last-modified: 2017-06-14 (水) 14:36:44 (2185d)

sed 複数のスペースを1つのスペースに変換


  • syntax:
    sed -e 's/ */ /g'
    cat ./input.txt | sed -e 's/ */ /g'

  • comment:
    複数のスペースを1つのスペースに変換
    ※*の前は2個のスペース
  • Example:



    Tag: Linux sed

    Goto Top Page

Top / linux / System Command Examples / sed examples / sed 複数のスペースを1つのスペースに変換