1 2 3 4 5 |
one two three four five |
3行目に挿入
1 |
cat data.txt | sed -e '3i INSERT sed' |
結果
1 2 3 4 5 6 |
one two INSERT sed three four five |
1 2 3 4 5 |
one two three four five |
3行目に挿入
1 |
cat data.txt | sed -e '3i INSERT sed' |
結果
1 2 3 4 5 6 |
one two INSERT sed three four five |