LoginSignup
0

More than 1 year has passed since last update.

tr -d で改行文字を削除する

Last updated at Posted at 2022-10-04

以下でいける。

cat multiplelines.txt | tr -d '\n' > oneline.txt

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0