9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to calculate the maximum number from four numbers input by the user. I have the following code, but it does not work. It says there's an error with the last line "done". Any help would be appreciated.
echo "Please enter four numbers: "
for i in 1 2 3 4
read number... (17 Replies)
Discussion started by: itech4814
2. Shell Programming and Scripting
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
3. UNIX for Dummies Questions & Answers
I have a question regarding the awk command. Here is the line I need to grep:
1 F= -.13250138E+03 E0= -.13249556E+03 d E =-.174650E-01 mag= 35.2157
Instead of displaying the number in red I would like to store it as a variable such as X. Is there a way to do this? Thanks for any... (3 Replies)
Discussion started by: modey3
4. Shell Programming and Scripting
Hello, Would someone guide me on how to write a shell script the would search for a phone no using at the end text file using sed or awk and store it in a varaible or print it.
The text file is in this form
text or numbers in first line
text or numbers in second line
Firsname... (6 Replies)
Discussion started by: amuthiga
5. UNIX for Dummies Questions & Answers
what is the maximum number ls can list down (6 Replies)
Discussion started by: karnan
6. UNIX for Dummies Questions & Answers
What is the maximum number of arguments that could be passed to zsh ?
To find out that I tried a simple script.
And the maximum number of arguments that could be passed turned out to be 23394
i=$(($i + 1))... (9 Replies)
Discussion started by: matrixmadhan
7. UNIX and Linux Applications
Can anyone help me? An input file has three lines. Each line should only be 2098 as number of characters however line 2 of the input file has more than the maximum number of characters, it exceeded up to 4098. What should I do so that could handle maximum number of characters? that it could... (1 Reply)
Discussion started by: chrysSty
8. 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
9. UNIX for Advanced & Expert Users
Anybody knows how to setup Maximum number of threads per user or some other value on Sun Solaris 8. (1 Reply)
Discussion started by: s_aamir