Search Results

Search: Posts Made By: prashob123
8,361
Posted By prashob123
Sorry, typo. It should read: A 3 ...
Sorry, typo.
It should read:

A 3 4 2+1+1
B 2 9 4+5

---------- Post updated at 09:28 AM ---------- Previous update was at 09:26 AM ----------

Oops.. this...
8,361
Posted By prashob123
Thank you.Can you pls tell me how to get rid of...
Thank you.Can you pls tell me how to get rid of the _ field separator & count the duplicates in $1?
Say, for the input

A_1 2
B_0 4
A_1 1
B_0 5
A_1 1
and output should be
A_1 3 ...
8,361
Posted By prashob123
awk to sum a column based on duplicate strings in another column and show split totals
Hi,
I have a similar input format-
A_1 2
B_0 4
A_1 1
B_2 5
A_4 1
and looking to print in this output format with headers. can you suggest in awk?awk because i am doing some pattern matching...
2,785
Posted By prashob123
Sequential execution of commands in ksh
I need to run few commands in a ksh script sequentially.
Some of the commands are jobs submitted to the server and the consecutive commands are dependent on the completion of the jobs submitted to...
3,015
Posted By prashob123
Thanks for the replies. The if loop with space...
Thanks for the replies.
The if loop with space worked.
And, for the 2nd part of my original question, I used "cat >> "to write into file.
Thanks again!
3,015
Posted By prashob123
I have one which works but is not dependent on...
I have one which works but is not dependent on column3 in my input file.
while read col1 col2 col3
do
my set of of instructions
done < input.txt

But when i edit the ksh script so that it...
3,015
Posted By prashob123
Help with ksh-to read ip file & append lines to another file based on pattern match
Hi,

I need help with this-
input.txt :
L B white
X Y white
A B brown
M Y black

Read this input file and if 3rd column is "white", then add specific lines to another file insert.txt....
Showing results 1 to 7 of 7

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