Find and replace a pattern using sed or awk
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a file with multiple occurrences (more than 1000) of REF*SY*111111111, REF*SY*777777777, REF*SY*145485450...etc, need all the data be replaced with a standard output-REF*SY*111111111,REF*SY*111111111, REF*SY*111111111 ....etc. Can I do it with sed or awk ?
linux awk sed regular-expression
New contributor
add a comment |Â
up vote
0
down vote
favorite
I have a file with multiple occurrences (more than 1000) of REF*SY*111111111, REF*SY*777777777, REF*SY*145485450...etc, need all the data be replaced with a standard output-REF*SY*111111111,REF*SY*111111111, REF*SY*111111111 ....etc. Can I do it with sed or awk ?
linux awk sed regular-expression
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a file with multiple occurrences (more than 1000) of REF*SY*111111111, REF*SY*777777777, REF*SY*145485450...etc, need all the data be replaced with a standard output-REF*SY*111111111,REF*SY*111111111, REF*SY*111111111 ....etc. Can I do it with sed or awk ?
linux awk sed regular-expression
New contributor
I have a file with multiple occurrences (more than 1000) of REF*SY*111111111, REF*SY*777777777, REF*SY*145485450...etc, need all the data be replaced with a standard output-REF*SY*111111111,REF*SY*111111111, REF*SY*111111111 ....etc. Can I do it with sed or awk ?
linux awk sed regular-expression
linux awk sed regular-expression
New contributor
New contributor
New contributor
asked 2 mins ago
R M
1
1
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
R M is a new contributor. Be nice, and check out our Code of Conduct.
R M is a new contributor. Be nice, and check out our Code of Conduct.
R M is a new contributor. Be nice, and check out our Code of Conduct.
R M is a new contributor. Be nice, and check out our Code of Conduct.
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%2f477836%2ffind-and-replace-a-pattern-using-sed-or-awk%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