Search Results

Search: Posts Made By: TheMrOrange
2,843
Posted By TheMrOrange
double quote is an empty field and I need to...
double quote is an empty field and I need to recognize it...



There is no empty line in the end of the original file and there are thousand of double quote in the original, by the way I've...
2,843
Posted By TheMrOrange
's/"//g' 's/\"//g' both work... tnx ...
's/"//g'
's/\"//g'

both work... tnx

anyway I still have a new empty line at the end of my output file... do you have any idea?
2,843
Posted By TheMrOrange
delete " from plain text files
Hi,
sorry for bothering with this easy problem but I can't understand...

I've a file like this:

"4","0x23a3"
"5","0x4234"
"11",""
"20",""
"11132","0x6456"
I would like to create a file...
5,337
Posted By TheMrOrange
this works perfectly! I get the solution using...
this works perfectly!
I get the solution using grep for all lines not empty but your solution is much better and I'm going to use it. (thanks)

Anyway I've the last problem to solve:
even if I...
5,337
Posted By TheMrOrange
may be i'm not using it properly but this code...
may be i'm not using it properly but this code cut all lines bellow the first line that contains />

need to replace delete empty lines and write chars in the line above the line deleted
...
5,337
Posted By TheMrOrange
I get a partial solution. Now the problem is this...
I get a partial solution. Now the problem is this one:

fileIN.txt:

row1
row2
/>
row3
row4
/>
row5


desired fileOUT.txt:

row1
row2,,,,
row3
row4,,,,
row5
5,337
Posted By TheMrOrange
sed usage with special characters - text manipulation
I'm trying to use sed to replace string in text file but I've some problems with slash and new-line

for example I have to replace this string:
\> signal_rssi="

or this string where new-line is...
Showing results 1 to 7 of 7

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