Search Results

Search: Posts Made By: ngb
14,505
Posted By ngb
Thank you Scrutinizer!!! That worked for the...
Thank you Scrutinizer!!! That worked for the large file too. I will check further later but your command helped a lot.
14,505
Posted By ngb
Thank you RavinderSingh13 for your help. I...
Thank you RavinderSingh13 for your help.

I am getting this error:

awk: {gsub("\n"/,X,$0);print}
awk: ^ syntax error
awk: fatal: 0 is invalid as number of arguments for gsub

...
14,505
Posted By ngb
Replace string including newline
Hi,

I am trying to do some transformation on a large file and I am getting some troubles trying remove newlines only when the last character of a line is a symbol (in this case is a pipe "|").
...
2,123
Posted By ngb
Hi Don, I have some echo with the file name...
Hi Don,

I have some echo with the file name inside the loop redirected to the file logtocheck.out too, so I could follow the results. Basically my problem is how to grep character æ.
2,123
Posted By ngb
Grep character æ
Hello,

Im trying check if character "æ" (alt+145) is included or not in some files. To do that I have written a scrip with vi that basically is a loop of all these compressed files and something...
1,648
Posted By ngb
Thanks. I will try with Perl. Ill let you know...
Thanks. I will try with Perl. Ill let you know about it. Any option using sed?

To clear it up, string limits may be any string. Using the first example:

<html><body><a href='a.html'>abc</a><a...
1,648
Posted By ngb
Extract code between 2 strings.
Hi,

Im having some problems with this. I have loaded a file with html code. All code is placed in the same line. I want to get everything between two given strings (including these strings and get...
Showing results 1 to 7 of 7

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