Search Results

Search: Posts Made By: Chella15
9,561
Posted By Chella15
@ygemici: Thanks for your effort and time.:)...
@ygemici:

Thanks for your effort and time.:)
I was working in the similar way, there were couple of glitches which i just fixed:
1. I didnt notice that my while loop was appending extra line at...
9,561
Posted By Chella15
@ygemici Sorry for the late reply... i was...
@ygemici

Sorry for the late reply... i was trying a couple of other things too.. :wall:
When i tried to grep with a file name what u said below works... but it doesnt work with a variable name....
9,561
Posted By Chella15
Thanks ygemici ! This works great, but I am...
Thanks ygemici !

This works great, but I am not sure how to adapt this into my requirement as I had to manipulate it after the loop and not within. Can you also please explain the below part of...
9,561
Posted By Chella15
@ygemici: thank you for your reply, as I...
@ygemici:

thank you for your reply, as I have already mentioned I am able to do with the file say new.html (your file). But I am not yet able to achieve it for a variable got from the while loop....
9,561
Posted By Chella15
@Skrynesaver: I used data=$(echo $data | sed...
@Skrynesaver:
I used
data=$(echo $data | sed s/||chr(//) -- to replace the string with empty space
and i got the following error (also tried a couple of different ways)
unexpected EOF while...
9,561
Posted By Chella15
bash: delete a string from last line
I am using a while loop to read a file and i have to delete a string from the last line. Here is the code so far:
1. Read line by line from file new.html using while loop and store in a variable...
9,415
Posted By Chella15
This works perfect. Thank you..
This works perfect. Thank you..
1,797
Posted By Chella15
Bash: using SED, trying to replace some characters except first or last line
Hi,
I require to replace 2 items:
1. replace start of all lines in a file with ' except the first line
2. replace end of all lines in a file with '||chr( except last line

I am able to do the...
9,415
Posted By Chella15
Bash: using SED, trying to replace some characters except first or last line
Hi,
I require to replace 2 items:
1. replace start of all lines in a file with ' except the first line
2. replace end of all lines in a file with '||chr( except last line

I am able to do the...
Showing results 1 to 9 of 9

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