10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a quick question on parsing the hour/minute and value from a text file and remove the seconds portion. For example in the below text file:
20:34:01 7.83... (2 Replies)
Discussion started by: satishrao
2. UNIX for Dummies Questions & Answers
I need help!
I have two files, one containing a list of codes and the other a list of codes and their meaning. I need to extract from file 2 all the codes from file 1 into a new file.
These are my files:
Metbo Methanoculleus... (3 Replies)
Discussion started by: Lokaps
3. Shell Programming and Scripting
I have this above content where in i wan the total of the every row
... (9 Replies)
Discussion started by: nikhil jain
4. UNIX for Dummies Questions & Answers
Hi, I've got a file that I'd like to uniquely sort based on column 2 (values in column 2 begin with "comp").
I tried sort -t -nuk2,3 file.txtBut got:
sort: multi-character tab `-nuk2,3'
"man sort" did not help me out
Output: (5 Replies)
Discussion started by: pathunkathunk
5. Shell Programming and Scripting
I have the solution:
The thread can be marked as solved!
I'm working on a script processing some data from a website into cvs format. There is only one final problem left I can't find a solution.
I've processed my file... (0 Replies)
Discussion started by: lolworlds
6. Shell Programming and Scripting
Thank you ina advance for your Help. Sorry my english, Im from Argentina!
So, here si my problem
I have a variable, lets say PARAMETERS that could be set like this:
PARAMETROS="-Usistemas string1 -Astring2 -G -Y -Kcoco -Y string4 -Z"
PARAMETROS="string1... (1 Reply)
Discussion started by: Hercraft
I have a table which has 2 columns - id and amount.
If there duplicate rows , as in id and amount are same , then i have to update the table in such away that only one row should contain amount and all rows should become zero for that id.
1... (5 Replies)
Discussion started by: megha2525
8. Emergency UNIX and Linux Support
I have an input file like
F : 0.1 : 0.002
P : 0.3 : 0.004
P : 0.5 : 0.008
P : 0.1 : 0.005
L : 0.05 : 0.02
P: 0.1 : 0.006
P : 0.01 : 0.08
F : 0.02 : 0.08
Expected output: (2 Replies)
Discussion started by: vasanth.vadalur
9. Shell Programming and Scripting
I have two files -- one with 1024 lines and another with 2048 lines. I want to merge them to create another file in such way that it takes 2 lines from file with 1024 lines and 4 from 2048 lines.
I wrote a sample script and curious to see if there is a better way; i am sure there is,... (4 Replies)
Discussion started by: jakSun8
10. UNIX for Advanced & Expert Users
I am trying to merge two large file horizontally using paste command. Every thing is working fine except for time. Its taking lot of time.
Is there any effiecient way of doing the same thing or is there anyway by which I can improve its perfomance programatically?
Yeheya (1 Reply)
Discussion started by: yeheyaansari