Search Results

Search: Posts Made By: Nagaraj R
2,725
Posted By Nagaraj R
Hi rdrtx1, Nope. The below is not working,...
Hi rdrtx1,

Nope. The below is not working, as expected.

/usr/xpg4/bin/sed '/\/table/,+15d' status.html

Please use CODE tags as required by forum rules!
2,725
Posted By Nagaraj R
So, you meant to say, I can not achieve, what I...
So, you meant to say, I can not achieve, what I am looking for using sed
2,725
Posted By Nagaraj R
Hi Robin, Thank you for the response. ...
Hi Robin,

Thank you for the response.

Please note that I do not have space between +15 and d.

Regards,
Nagaraj R.
2,725
Posted By Nagaraj R
sed to remove next 15 lines after pattern in Solaris
Team,

I am trying to use sed to delete 15 lines, after pattern patch, which includes the pattern as well in Solaris. I used the below command, as we do it Linux, but it's not working as expected...
Forum: AIX 12-05-2016
3,641
Posted By Nagaraj R
Script is not executing as expected when I schedule it in cron
Hi,

I have a shell script which fetches the MRP status and the LAG status.

When I execute it manually like, sh <script_name>, it fetches the output as expected, but when I schedule through...
8,296
Posted By Nagaraj R
Thank you Rudic and MadeInGermany. It worked and...
Thank you Rudic and MadeInGermany. It worked and helped me to get this task done.

Thank you others as well for the response.!!
8,296
Posted By Nagaraj R
How to delete the previous line after pattern match?
Team,

I am writing a shell script to perform few health checks of the system, where I need to delete the previous line in the text file after pattern match using sed (or) awk.

Could you please...
Showing results 1 to 7 of 7

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