Search Results

Search: Posts Made By: VNR
4,653
Posted By VNR
That worked. Thanks a lot.
That worked. Thanks a lot.
4,653
Posted By VNR
Deleting columns passed as arguments to the script
Hi all,

I am trying to delete columns in a file using a script. The columns that need to be deleted are passed as arguments to the script.

The script should look like this
> delete_columns.sh...
26,210
Posted By VNR
Yeah this worked on the solaris machine. Thanks...
Yeah this worked on the solaris machine. Thanks very much

VNR
26,210
Posted By VNR
Not able to identify SEARCH variable ...
Not able to identify SEARCH variable


Output is
SEARCH : Undefined variable

Btw I use csh

Thanks & Regards
VNR
26,210
Posted By VNR
Piping STDOUT as pattern to grep or sed
$>cat file.txt
123 d3
234 abc 3
zyf 23
124 def 8
ghi kz0
...
...

I have the following output on the screen through <some command>.
$> <some command>
abc
def
ghi
...
...

I have to...
4,560
Posted By VNR
The above code only appends the numbers at the...
The above code only appends the numbers at the end of filename. I wanted to add the numbers only before END. As I mentioned there are numbers before and after START and END.
4,560
Posted By VNR
works like a charm....thanks very much for the...
works like a charm....thanks very much for the fast reply
4,560
Posted By VNR
Inserting a range of consecutive numbers into a text file
I have a text file in the following format
....
START
1,1
2,1
3,1
..
..
9,1
10,1
END
....

I want to change to the output to
....
START
1,1
2,1
3,1
..
Showing results 1 to 8 of 8

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