Hi,
I need to compare two flat files (yesterday & today's data) and get only the changed data from flat files. In flat file i dont have data column or anything its just a string data in flat file.Can any one please let me know the script
With Regds
Shashi (3 Replies)
I'm trying to compare the first column values in two different files that use a numerical value as the key and output the more meaningful value found in the second column of file1 in front of the matching line(s) in file2. My problem is that file2 has multiple records. For example given:
FILE1... (4 Replies)
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
I am not an expert in awk, SED, etc... but I really hope there is a way to do this, because I don't want to have to right a program. I am using C shell.
FILE 1 FILE 2
H0000000 H0000000
MA1 MA1
CA1DDDDDD CA1AAAAAA
MA2 ... (2 Replies)
I did some searches, but couldn't really find what I'm looking for. I have a file formatted as below:
BOF ABC CO - XYZ COMM DATA OF 07/05/2011
EBA00000001 sdfa rtyus uyml
EBB00000001 54682 984w3
EBA00000002 mkiyuasdf 98234
I want to pull the date from the header record and add it... (4 Replies)
I have 2 zip files which have about 20 million records in each file. file 2 will have additional records than file 1. I want to compare the records in both the files and capture the new records from file 2 into another file file3. Please help me with a command/script which provides me the desired... (8 Replies)
Hi ,
My requirement is to Compare 2 files having different number of columns and records and get the ouptut containing all the non-matching records from File A(with all column values ) .Example data below :
File A contains following :
Aishvarya |1234... (4 Replies)
Good morning all,
I have a problem that is one step beyond a standard awk compare.
I would like to compare three files which have several thousand records against a fourth file. All of them have a value in each row that is identical, and one value in each of those rows which may be duplicated... (1 Reply)
hi.. I want to compare records present in 1 file with those in 3 other files and print those records of file 1 which are not present in any of the files. for eg -
file1 file2 file3 file4
1 1 5 7
2 2 6 9
3
4
5
6
7
8
9
... (3 Replies)
Discussion started by: Abhiraj Singh
3 Replies
LEARN ABOUT OSF1
secauthmigrate
secauthmigrate(8) System Manager's Manual secauthmigrate(8)NAME
secauthmigrate - Convert ULTRIX auth(5) authentication data to authcap(4) authentication data (Enhanced Security)
SYNOPSIS
/usr/sbin/secauthmigrate [options] files
... | /usr/sbin/secauthmigrate [options] -
DESCRIPTION
The secauthmigrate utility reads records from the specified files or from standard input (-). These records must be formatted according to
the ULTRIX auth(Section 5) format. These can be generated by getauth on ULTRIX, or (for the Hesiod/BIND master host) can be found in
/var/dss/namedb/src/auth. For each authentication record found, secauthmigrate will attempt to find a matching username record for the
given UID. If that translation can be performed, an authcap(4) entry for the extended profile information for that user is created from
the data in the input record. If the extended profile entry already exists, then the converted entry is left in /tcb/files/auth/?/user-
name:ULT rather than overwrite the entry in /tcb/files/auth/?/username.
If ROOTDIR is defined, it is used instead of / as the root of the directory tree when creating the /tcb/files/auth/?/* files.
FLAGS -v Indicate successful conversions on standard output.
-U Give a long usage message.
ERRORS
Failed to find name for UID # xxxx -- skipped
No BSD style (/etc/passwd or NIS data) account exists. If you need this account, create a BSD style account and run secauthmigrate again.
Existing file for username -- conversion saved in /tcb/files/auth/?/username:ULT
Extended profile already exists. Compare the files to determine the differences. If the differences are not related to the password, use
the dxaccounts program to update the existing file. If the differences are related to the password, disable logins and edit the
/tcb/files/auth/?/username file.
secauthmigrate -- unrecognized option '${opt}'
The option you provided was not recognized. The options are -v and -U.
Usage: secauthmigrate [options] files
(Try secauthmigrate -U for help.)
The -U option provides extensive help.
FILES
${ROOTDIR}/tcb/files/auth/?/*
RELATED INFORMATION authcap(4), prpasswd(4)
auth(Section 5) and getauth(Section 8) on ULTRIX.
Security delim off
secauthmigrate(8)