10 More Discussions You Might Find Interesting
1. Programming
How can I change the maximum length of a programming line in fortran and C (specifically in fortran 77)?
Seems the default maximum length is 72 in fortran 77.
Thanks. (4 Replies)
Discussion started by: hbar
4 Replies
2. Shell Programming and Scripting
Hello,
I have 2 columns (1st column has multiple entries but the corresponding values in the column 2 may be the same or different.) however I want to extract unique values for each entry in column 1 by assigning the max value from column 2
SDF4 -0.211654
SDF4 0.978068
... (1 Reply)
Discussion started by: Diya123
1 Replies
3. Shell Programming and Scripting
Hi
Im trying to scan a file for certain entries and remove their corresponding lines completely. What I have now is this,
for USER in user1 user2 user3 user4
do
sed '/$USER/d' /etc/sudoers
done
However this doesn't remove the entries at all. Is there another way for this?
Thanks... (2 Replies)
Discussion started by: bludhemn
2 Replies
4. Shell Programming and Scripting
Hello All,
My file content is:
DROP TABLE
"FACT_WORLD";
CREATE TABLE "FACT_WORLD" (
"AR_ID" INTEGER NOT NULL,
"ORG_ID" INTEGER NOT NULL
)
DATA CAPTURE NONE
COMPRESS YES;
I want to change this file to have entries in one... (6 Replies)
Discussion started by: akash2508
6 Replies
5. Shell Programming and Scripting
Hi,
Can anyone please help me to know what is the maximum number of command line arguments that we can pass in unix shell script?
Thanks in advance,
Punitha.S (2 Replies)
Discussion started by: puni
2 Replies
6. Shell Programming and Scripting
Hi,
Could any one please let me know what is the maximum number of characters
that will fit into a single line of a flat file on a unix.
Thanks. (1 Reply)
Discussion started by: Shivdatta
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I didn't find any thread that match this question so I hope it's not redundant. I am totally new to Unix. I want to know what is the maximum length of the os-commandline in Unix. Will it cause any problem if I run any application whose total path length is much longer than 256... (2 Replies)
Discussion started by: kumardesai
2 Replies
8. UNIX for Dummies Questions & Answers
Can anyone help me how can i print only the unique entry in a line?
MI_AP MI_AP MI_CM MI_MF
RC_NAP MBS_AP SF_RAN MBS_AP NT_CAR
so that it will on output the one unique entry per line.
MI_AP MI_CM MI_MF
RC_NAP MBS_AP SF_RAN NT_CAR
I can't find the same situation on the knowledge... (5 Replies)
Discussion started by: kharen11
5 Replies
9. Shell Programming and Scripting
Hey , I want to check the row in a file with maximum characters .
the output sud contain that row number along with the no of characters. (4 Replies)
Discussion started by: mohapatra
4 Replies
10. UNIX for Advanced & Expert Users
Dear all!
I want to find the maximum value in two specific columns with numbers, and then print the entire line containing this value. The file may look like:
1001 34.5 68.7 67
1002 22.0 40.1 32
1003 11.3 34.8 45
I want to find the maximum value within column 2... (22 Replies)
Discussion started by: kingkong
22 Replies