【sed】最後の行に1行追加するのは「$a」 未分類 Posted by: 2020年6月8日 no comments yet <スポンサーリンク> yuta@DESKTOP-V36210S:/mnt/c/yuta$ cat test.txt abcde fghij yuta@DESKTOP-V36210S:/mnt/c/yuta$ cat test.txt | sed '$a klmno' abcde fghij klmno yuta@DESKTOP-V36210S:/mnt/c/yuta$ 12345678 yuta@DESKTOP-V36210S:/mnt/c/yuta$ cat test.txt abcdefghijyuta@DESKTOP-V36210S:/mnt/c/yuta$ cat test.txt | sed '$a klmno'abcdefghijklmnoyuta@DESKTOP-V36210S:/mnt/c/yuta$ Share this:クリックして Twitter で共有 (新しいウィンドウで開きます)Facebook で共有するにはクリックしてください (新しいウィンドウで開きます) 関連 <スポンサーリンク> older newer コメントを残す コメントをキャンセルAllowed tags: you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>Please note: all comments go through moderation. Name (required) Email (required) Website キャプチャコード * 新しいコメントをメールで通知 新しい投稿をメールで受け取る Δemail confirm* post date* 日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)