9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I have data in the below format in two columns in excel which i will copy to notepad.
test as rec1, string
test as rec2, byteint
test as rec3, string
update date as test, datetime
name as tes2 string
I need to add trim function on all the string columns and keep the remaining... (10 Replies)
Discussion started by: pisikar
10 Replies
2. Shell Programming and Scripting
i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations.
And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value.
For example:
For 1st... (3 Replies)
Discussion started by: thomasraj87
3 Replies
3. Shell Programming and Scripting
please solve my problem..... :(
i have a sample input file as
A
A
A
A
B
B
B
B
B
C
C
C
C
C
i want the output such that if the count of A or B or C is greater than 3
A (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
4. Shell Programming and Scripting
Write a KSH script called cleanse which displays the name of each file in a given directory and allows the user to interactively decide whether or not to keep or delete the specific file.
Notes: Again, please check for errors.
can any one help on this problem ?? (1 Reply)
Discussion started by: babuda0059
1 Replies
5. Shell Programming and Scripting
Hi everybody!
I have written some awk scripts that return me some results I need to process. At the moment I use openOffice to process them, but I am trying to find a more efficient solution using possibly a bash or awk script.
I have two files, file1 is in the format:
time position
... (3 Replies)
Discussion started by: Alice236
3 Replies
6. UNIX for Advanced & Expert Users
Hello everybody!
I have no experience with shell Programmer, but I need to compare 02 files. Txt and generate an output or a new file, after the comparisons. see:
If the column 1 of file1 is equal to column 1 of file2, and column 3 of file2 contains the column 4 of file1, output: column1... (4 Replies)
Discussion started by: He2
4 Replies
7. Shell Programming and Scripting
Factorial calculation
Example output:
Please enter a non-negative number: 3
3! = 3 X 2 X 1
= 6
Please enter a non-negative number: 10
10! = 10 X 9 X 8 X 7 X 6 X 5 X 4 X 3 X 2 X 1
= 3628800
Please enter a non-negative number: -1
... (1 Reply)
Discussion started by: cenco
1 Replies
8. Shell Programming and Scripting
Find the first alphabetic letter from the input:
Accept a group of upper case alphabetic letters one at a time, ended with a 0, and find and display the first letter in alphabetic order. For example, input of D, G, T, S, V, G, C, K, P should result in C.
Any invalid input character (eg. #, $, 3,... (1 Reply)
Discussion started by: sbcvn
1 Replies
9. UNIX for Dummies Questions & Answers
Suppose I have a script named "sc.sh"
in the script how to print out its name "sc.sh"? (3 Replies)
Discussion started by: meili100
3 Replies