6 lines
57 B
Bash
6 lines
57 B
Bash
|
input='bar
|
||
|
baz
|
||
|
bam'
|
||
|
|
||
|
echo "$input" | \sed '/baz/ s/a/i/'
|