Insert a line break before a numeric field or before an alphanumeric field that is just after a numeric field
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have this line
word1 word2 1234 4567 word3 8901 word4 word5 2541 5142 word5
I want to split this line in order to insert a line break before a numeric field or before an alphanumeric field that is just after a numeric field, so the output would be:
word1 word2
1234
4567
word5
All alphanumeric fields begin with letters
awk sed alphanumeric
add a comment |Â
up vote
0
down vote
favorite
I have this line
word1 word2 1234 4567 word3 8901 word4 word5 2541 5142 word5
I want to split this line in order to insert a line break before a numeric field or before an alphanumeric field that is just after a numeric field, so the output would be:
word1 word2
1234
4567
word5
All alphanumeric fields begin with letters
awk sed alphanumeric
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have this line
word1 word2 1234 4567 word3 8901 word4 word5 2541 5142 word5
I want to split this line in order to insert a line break before a numeric field or before an alphanumeric field that is just after a numeric field, so the output would be:
word1 word2
1234
4567
word5
All alphanumeric fields begin with letters
awk sed alphanumeric
I have this line
word1 word2 1234 4567 word3 8901 word4 word5 2541 5142 word5
I want to split this line in order to insert a line break before a numeric field or before an alphanumeric field that is just after a numeric field, so the output would be:
word1 word2
1234
4567
word5
All alphanumeric fields begin with letters
awk sed alphanumeric
awk sed alphanumeric
asked 7 mins ago
Emilio Galarraga
32629
32629
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f478543%2finsert-a-line-break-before-a-numeric-field-or-before-an-alphanumeric-field-that%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