Search Results

Search: Posts Made By: evrurs
1,409
Posted By evrurs
Thanks a lot and it is working Great....
Thanks a lot and it is working Great....
1,409
Posted By evrurs
Join all the lines matching similar pattern
I am trying to Join all the lines matching similar pattern.
Example ;
I wanted to join all the lines which has sam to a single line.
In next line, i wanted to have all the lines with jones to a...
2,147
Posted By evrurs
Thanks a tonnnn Don and your script works Great. ...
Thanks a tonnnn Don and your script works Great.
Can you please explain the flow of the script so that i can understand the flow.
2,147
Posted By evrurs
@bobbygsk, thanks for your reply. No, its...
@bobbygsk, thanks for your reply.

No, its not that simple as we look like. Sorting the file completely re-orders all the lines.
I need to sort only the portion of the file and not the complete...
2,147
Posted By evrurs
Unix Scripting : Sort a Portion of a File and not the complete file
Need to sort a portion of a file in a Alphabetical Order.
Example : The user adam is not sorted and the user should get sorted. I don't want the complete file to get sorted.

Currently...
3,284
Posted By evrurs
@michaelrozar17 It has inserted multiple...
@michaelrozar17

It has inserted multiple lines. Instead of inserting the new line after the last pattern, Is it possible to insert the new line according to the Alphabetical order.

...
3,284
Posted By evrurs
@Vryali, Thanks a lot and the code worked fine....
@Vryali,
Thanks a lot and the code worked fine. However, Is it possible to insert the text in a Alphabetical Order instead of inserting it in the Last line.

sed "$(awk -F',' '$5 ~ /.*ARS\ \(11\)/...
3,284
Posted By evrurs
Thanks for your reply. The file contains...
Thanks for your reply.

The file contains many other Patterns like "ATRIUM (11)" ""BL (11)" Etc, hence redirecting will take it to the last line and sorting also didn't help.
3,284
Posted By evrurs
Script using Sed :Search all patterns & after the last Patter, insert a newLine with Comma Sep Value
I am trying to search the pattern "ARS (11)" and after the LAST pattern, i am trying to open new line and enter text using sed.

My Existing Text file is Users.txtpaul, Paul Smith, Stevn Smiley,...
Showing results 1 to 9 of 9

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