10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Shell script logic
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
2. Shell Programming and Scripting
I have a file lets say input.csv having two columns like-
I would like to find result in a new file lets say output.csv as-
means short the file on the basis of first column and first value corresponding to the... (5 Replies)
Discussion started by: Ashish Singhal
3. Shell Programming and Scripting
I have two files their format is
File1 - input_file
input_file ... (4 Replies)
Discussion started by: greenworld123
4. UNIX for Dummies Questions & Answers
I am a newbie to unix, I am trying to write a shell script (just a test) but I can't seem to compare the variable value with a string in the if statement.
I get an error when i execute the following script, could you tell me what is wrong and how I can correct it
Note - I am using bash... (4 Replies)
Discussion started by: muthuveerappan
5. UNIX for Advanced & Expert Users
PLease can you help me with a shell script which can compare two xml files and print the difference to a output file.
I have attached one such file for you reference.
<Member ID=":Year_Quad:41501" childCount="4" fullPath="PEPSICO Year-Quad-Wk : FOLDER.52 Weeks Ending Dec... (2 Replies)
Discussion started by: kanthrajgowda
6. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
7. Shell Programming and Scripting
hello ....i am new in shell script..I have one shell script which read inputs from file...and second is c++ pgm..i call my script from c++ programm..to compare file values to c++ pgm value..
our shell script is shubhi.sh
while read line
this script... (1 Reply)
Discussion started by: shubhig15
8. Shell Programming and Scripting
Has anyone got an example shell script that I can use to compare the contents of two files.
The files should contain the same contents, eg.
grape (2 Replies)
Discussion started by: deedaz
9. Shell Programming and Scripting
I am new to shell.
i have a requirement to compare the one file from one dir to other 7 files of other dir and to find out the duplicate files from the 7 files .
the name of the all files go on changing every weekend.
Thanks in advance (4 Replies)
Discussion started by: ravi214u
10. UNIX for Advanced & Expert Users
I need to check that if user is not oracle the the script should exit out .
But the below script always exits evenif I am logged as oracle.
Plz help me...........
if ; then
echo " You are logged as `id` , it must be oracle "
Regards (2 Replies)
Discussion started by: reply2soumya