Search Results

Search: Posts Made By: kamijia83
1,382
Posted By kamijia83
Thanks a lot Don for your help and making me...
Thanks a lot Don for your help and making me understand my mistake !!!Really appreciate your help

Have a nice weekend !!

---------- Post updated at 11:32 AM ---------- Previous update was at...
1,382
Posted By kamijia83
Hi Ravinder Thanks for the reply !!...
Hi Ravinder

Thanks for the reply !! Actually there can be any number of :61 tags

Between :60F tag and : 61 I have a TAB
:60F:123 :61:151and then I can have any number of 61 tags with spaces...
1,382
Posted By kamijia83
Replace space with !@ using sed
Hello
I have a requirement where I need to replace space :61 with !@ :61
Source
:60F:123 :61:151 :61:151 :61:15101

Target
:60F:123 :61:151!@:61:151!@:61:15101

I cant...
2,897
Posted By kamijia83
Thanks !! This will not work as I only need to...
Thanks !! This will not work as I only need to run this command where I find :61:
2,897
Posted By kamijia83
Hello This will not work as I need to only...
Hello

This will not work as I need to only modify this for places where I find :61
2,897
Posted By kamijia83
Thanks !! But could you suggest something with...
Thanks !! But could you suggest something with sed or some modification in my sed code!!
2,897
Posted By kamijia83
Hello I modified the command from sed...
Hello
I modified the command from

sed 's/\([[:space:]]\)\(:61:\)/\1\n\2/g' file1 > file2to (remove space)
sed 's/\([[:space:]]\)\(:61:\)/\n\2/g' file1 > file2 so the original issue I was...
2,897
Posted By kamijia83
Thanks for the replies ! Will post the source...
Thanks for the replies ! Will post the source data soon.
Space in front of the new line is not required
2,897
Posted By kamijia83
Replace space by newline error
Hello
I have had a requirement where I need to move data to a new line based on a text .So basically as soon as it encounters :61: it should move to a new line


Source Data :
:61:D100,74NCH1...
935
Posted By kamijia83
Thanks a lot guys for the help !! It works
Thanks a lot guys for the help !! It works
935
Posted By kamijia83
Replace text/string with new line
Hello All

I have had a requirement where I need to move data to a new line based on a text

Input
:61: 456 B66666 :61: 878 N78777 :61: 534533534 BNNN

Output
:61: 456 B66666 ...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 11:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy