write sed commands to multiple lines
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am taking efforts to learn sed and encounter such a situation
$ echo "abcd" | sed -n "/b/p"
abcd
it works properly,
$ echo "abcd" | sed -n "
â /b/p"
abcd
good again, but
$ echo "Abcd" | sed -n "/b
/p"
sed: -e expression #1, char 2: unterminated address regex
What's the problem with the error report?
bash sed
New contributor
add a comment |Â
up vote
0
down vote
favorite
I am taking efforts to learn sed and encounter such a situation
$ echo "abcd" | sed -n "/b/p"
abcd
it works properly,
$ echo "abcd" | sed -n "
â /b/p"
abcd
good again, but
$ echo "Abcd" | sed -n "/b
/p"
sed: -e expression #1, char 2: unterminated address regex
What's the problem with the error report?
bash sed
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am taking efforts to learn sed and encounter such a situation
$ echo "abcd" | sed -n "/b/p"
abcd
it works properly,
$ echo "abcd" | sed -n "
â /b/p"
abcd
good again, but
$ echo "Abcd" | sed -n "/b
/p"
sed: -e expression #1, char 2: unterminated address regex
What's the problem with the error report?
bash sed
New contributor
I am taking efforts to learn sed and encounter such a situation
$ echo "abcd" | sed -n "/b/p"
abcd
it works properly,
$ echo "abcd" | sed -n "
â /b/p"
abcd
good again, but
$ echo "Abcd" | sed -n "/b
/p"
sed: -e expression #1, char 2: unterminated address regex
What's the problem with the error report?
bash sed
bash sed
New contributor
New contributor
New contributor
asked 1 min ago
Sawajiri
735
735
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sawajiri is a new contributor. Be nice, and check out our Code of Conduct.
Â
draft saved
draft discarded
Sawajiri is a new contributor. Be nice, and check out our Code of Conduct.
Sawajiri is a new contributor. Be nice, and check out our Code of Conduct.
Sawajiri is a new contributor. Be nice, and check out our Code of Conduct.
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478568%2fwrite-sed-commands-to-multiple-lines%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password