10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
my needed result:
test1 123 test1 111
test2 200 test2 200 (8 Replies)
Discussion started by: loktamann
2. Shell Programming and Scripting
I have a file containing a list of codes, followed by a description, such as below:
008.6,ENTERITIS DUE TO SPECIFIED VIRUS
008.8,OTHER ORGANISM, NOT ELSEWHERE CLASSIFIED
008,INTESTINAL INFECTIONS DUE TO OTHER ORGANISMSI... (6 Replies)
Discussion started by: carlr
3. UNIX for Dummies Questions & Answers
Hi guys, looking for some help with a way to compare data in two files but with some conditions.
File 1 consists of
File 2 contains
I want to be able to match the... (1 Reply)
Discussion started by: mutley2202
4. Shell Programming and Scripting
I need your help with the below mentioned issue:
I have 2 files say,
c|8|8 (1 Reply)
Discussion started by: lkeswar
5. Shell Programming and Scripting
file contains only one row.
END OF FILE. ROW COUNT: 8,9
We need to check the file contains exact string "END OF FILE. ROW COUNT: " if yes, get the 8,9 values
then compare if both are equal print the "equal" if not "notequal".
Thanks, (4 Replies)
Discussion started by: bmk
6. Shell Programming and Scripting
I have four files, I need to compare these files together.
As such i know "sdiff and comm" commands but these commands compare 2 files together. If I use sdiff command then i have to compare each file with other which will increase the codes.
Please suggest if you know some commands whcih can... (6 Replies)
Discussion started by: nehashine
7. Shell Programming and Scripting
grep '^.......$' /usr/dict/words | cut -c1,2,3,5,6,7
This gives a list of 6 character strings, some are words some not. Any suggestions on how I can get rid of the ones that aren't words and print the ones that are? I have tried look with no luck yet. (1 Reply)
Discussion started by: kezkez
8. Shell Programming and Scripting
How to check whether the given the two dates is minimal.
Date 1 : 23-03-2008 with timestamp
Date 2: 20-03-2008 With tmestamp
I want to compare the twodates and which it gives the minimum date
i wnat to get the output like this below
output: the Date2 is... (1 Reply)
Discussion started by: balaji23_d
9. Shell Programming and Scripting
I want a soultion to compare two arrays in sh with an easy way.I want a solution to synchrose users between different AIX servers where no NIS is available. All users are meant to be same on all 10 servers. So the approach is to consider first server as master user repository and whatever the users... (0 Replies)
Discussion started by: rijeshpp
10. Shell Programming and Scripting
Hi how do you compare it in ksh
ALINES=$(cat AFILE | wc -l)
BFIRST=$(head -1 BFILE)
I got ALINES=9 and BFRIST=records'9'
I want 9=9 , how do you write BLINES=9 from records'9' so I can say
Thanks (4 Replies)
Discussion started by: sabercats