Search Results

Search: Posts Made By: satyasrin82
6,739
Posted By satyasrin82
Thanks Zaxxon! Both the options worked.
Thanks Zaxxon! Both the options worked.
6,739
Posted By satyasrin82
Passing parameter in sed or awk commands to print for the specific line in a file
Hi,

I am trying to print a specific line in a file through sed or awk. The line number will be passed as a parameter from the previous step. My code looks as below.

TEMP3=`sed -n '$TEMP2p'...
1,589
Posted By satyasrin82
my requirement is not to exclude the TEST string
my requirement is not to exclude the TEST string
1,589
Posted By satyasrin82
No. I don't want to suppress. Based on the...
No. I don't want to suppress. Based on the boundaries (TEST), i should again loop the line and pull some data (with grep etc..).

No. I will not have any clue how many TESTs i will have. May, be...
1,589
Posted By satyasrin82
Yes. I need to read the data between the TESTs...
Yes. I need to read the data between the TESTs and pull out some information.
There will be may TESTs in the file..So, till the last TEST, i need to do this
1,589
Posted By satyasrin82
Looping requirement
Hi all,

I have little working knowledge in unix shell scripting. I have a requirement where i need to pull out some data in between the strings in the file.

Input:

TEST
a
a
c
f
d...
Showing results 1 to 6 of 6

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