Search Results

Search: Posts Made By: vadivel
3,586
Posted By vadivel
change directory
Hi all,

I'm trying to wirte a small shell script in Linux. My script has the flow like,

cmd1
cmd2
cd testdata
cmd3

After exiting the program, the CWD remains the same as where I execute...
3,677
Posted By vadivel
Hi Perderabo, I'm getting error message...
Hi Perderabo,

I'm getting error message like,

sort: option requires an argument -- k

for the command sort -k5n < file
It is suggesting that I've to give end
field argument also.
...
3,677
Posted By vadivel
I'm not a student.
Sorry,

I'm a programmer. I'm having the problem in
extracting a report file. I dont want to give
the exact information in the report file,
so I gave an example. If it leads to a...
3,677
Posted By vadivel
Sort is not reliable for all fields.
Hi,

thanks for ur response. But that sort option is
not working. My file is like,

ABCD 2.03 0.00 123.00 0.00
ACB 0.00 25.00 0.00 123.23
ABVCERR[12] ...
3,677
Posted By vadivel
awk doubt
I'm having a file with 5 fields.
I want to sort that file according to one field
no 3. How shall I do using awk programming.

Any input appreciatable.

regards,
vadivel.
Showing results 1 to 5 of 5

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