09-24-2009
Are you looking for ways to connect to the machines or for logic to do the comparison?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Does anybody know the cmd to compare two areas and print out the different files w/ path?
I tried cmp and diff and dircmp but with no luck.
Should I grep and print?
For example:
/aa/images/jan
..../images/feb
/bb/images/jan
..../images/feb
i want to print the compare,... (5 Replies)
Discussion started by: andylee80
5 Replies
2. UNIX for Dummies Questions & Answers
can some 1 tel me wat is difference between unix and linux. and from where i can download unix for free (5 Replies)
Discussion started by: rohansaurav
5 Replies
3. Shell Programming and Scripting
Hi Everyone,
1.txt
00:01:01 asdf
00:33:33 1234
00:33:33 0987
00:33:33 12
00:33:33 444
2.txt
vvvv|ee
444|dd33|ee
dddd|ee
12|ee
3ciur|fdd
the output should be: (6 Replies)
Discussion started by: jimmy_y
6 Replies
4. Shell Programming and Scripting
Hi
I've been trying various methods that I have found online with regards to comparing 2 files using the diff command. Nothing seems to work. The problem is that I'm not too familiar with the proper syntax. Can you please assist me. Here is my script:
#!/bin/bash
awk -F',' -v file1="$1"... (9 Replies)
Discussion started by: ladyAnne
9 Replies
5. Shell Programming and Scripting
I use du -sk command to find the size of the directory but when i use the result of 'du -sk' into if statement its throwing error.. Could u solve with this..? (14 Replies)
Discussion started by: shaal89
14 Replies
6. Shell Programming and Scripting
HI All,
I am new to Unix shell scripts..
Could you please post the unix shell script for for the below request.,
There are two different tables(sample1, sample2) in different schemas(s_schema1, s_schema2).
Unix shell script to compare the columns of two different tables of two... (2 Replies)
Discussion started by: Rajkumar Gopal
2 Replies
7. BSD
Is freeBSD a good choice for new Unix machine? I want to get back into Unix / Linux. System would be used for light scripting and file server needs. Something with nice software or hardware raid support would be good. If it could support virtual machines, kind of like VMWare's ESX that would be... (5 Replies)
Discussion started by: grips03
5 Replies
8. Shell Programming and Scripting
I have two arrays and they look like this:
array=(`cat /local/mnt/*sys/*includes|grep -v NEW`)
array2=(`cat /tmp/*sys.z |grep -v NEW`)
I am trying to compare them but I need to use the diff -u command. I am not sure how to do this. I cannot just do diff -u ${array} ${array2}
I cannot... (4 Replies)
Discussion started by: newbie2010
4 Replies
9. UNIX for Beginners Questions & Answers
Hi Comrades,
I am interested if there is the global internet network I can find free access to the Linux or unix server to create the own account to have some practice.
Thanks a lot for your advice and comments.
BR,
Dembi (2 Replies)
Discussion started by: Dembi
2 Replies
LEARN ABOUT DEBIAN
fstrcasecmpi
fstrcasecmpi(3) Library Functions Manual fstrcasecmpi(3)
NAME
fstrcasecmpi - fuzzy comparison of two strings ignoring case
SYNOPSIS
#include <fstrcmp.h>
#define FSTRCMP_IDENTICAL
#define FSTRCMP_THRESHOLD
#define FSTRCMP_ERROR
int fstrcasecmpi(const char *string1, const char *string2);
DESCRIPTION
The fstrcmp() function compares the two strings, string1 and string2, ignoring case.
RETURN VALUE
The fstrcasecmpi function returns an int value between 0 and FSTRCMPI_IDENTICAL. A value of 0 means the strings are utterly un-alike. A
value of FSTRCMPI_IDENTICAL means the strings are identical. A value of more than FSTRCMPI_THRESHOLD (it lies between 0 and FSTRCMPI_IDEN-
TICAL) would be considered "similar" by most people.
A value of FSTRCMPI_ERROR (always negative) indicates a malloc(3) failure.
SEE ALSO
fstrcasecmp(3)
fuzzy comparison of two strings ignoring case
fstrcmpi(3)
fuzzy comparison of two strings
COPYRIGHT
fstrcmp version 0.4
Copyright (C) 2009 Peter Miller
Peter Miller <pmiller@opensource.org.au>
The comparison code is derived from the fuzzy comparison functions in GNU Gettext 0.17. The GNU Gettext comparison functions were, in
turn, derived from GNU Diff 2.7.
Copyright (C) 1988-2009 Free Software Foundation
fstrcasecmpi(3)