Sponsored Content
Top Forums Shell Programming and Scripting Compare fields and keep record with bigger ID? Post 302771071 by joeyg on Tuesday 19th of February 2013 02:23:53 PM
Old 02-19-2013
What fields the same?
Looks like you are trying to compare on the second (city name) field, with the first combination on San Jose. But, what about Tampa?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to screen each variable record for right # of fields

Hi, In a script I have to check that input text files with a variable number of tab delimited fields have at least n fields and no more than m fields. Records are delimited by <CR> and <LF>. I have figured out code that will strip out all the alpha-numeric characters, convert the tabs to... (3 Replies)
Discussion started by: jvander
3 Replies

2. Shell Programming and Scripting

awk: record has too many fields

Hi, I'm trying this command - but get this error. Do you guys have any workaround for this? cat tf|sed 's/{//g'|sed 's/,//g'|awk '{for (i=1;i<=NF;i++) {if ($i == "OPTIME") {k = i + 2; print $i,$k}}}' awk: record `2005 Jul 28 17:35:29...' has too many fields record number 15 This is how... (3 Replies)
Discussion started by: chaandana
3 Replies

3. Shell Programming and Scripting

Manipulating fields record wise

Hi all, I have an input file with no delimiter. Let us say the file is abc.txt having values for fields namely, EmpNumEnameDesigSalDept. Ofcourse the file has got several records. Every field has got a fixed start and end position. I need to assign the fields to corresponding varibles say... (1 Reply)
Discussion started by: rinku11
1 Replies

4. Shell Programming and Scripting

Compare two arrays in sh or compare two fields

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
0 Replies

5. Shell Programming and Scripting

Making changes in the fields of a record

:confused: Hi Friends, In the record below i have to make changes in the fields by putting the values stored in the temporary variables, x, y, z, p, q, r: 2) In the TBT record store the values in the various fields as: a) X in a field position 51 to 56 b) Y... (5 Replies)
Discussion started by: kanu_pathak
5 Replies

6. Shell Programming and Scripting

Print all the fields of record using awk

Hi, i want to generate print statement using awk. i have 20+ and 30+ fields in each line Now its priting only first eight fields print statement as output not all. my record is as shown below filename ... (2 Replies)
Discussion started by: raghavendra.nsn
2 Replies

7. Shell Programming and Scripting

zsh compare size pdf and delete bigger?

I have used an script to reduce the size of multiples pdf. This script creates files with the same name but with different extension. The extension of the compressed files is xpdf. Sometimes the "compressed" xpdf are bigger than the "uncompressed"pdf. I want to create a zsh script to compare each... (1 Reply)
Discussion started by: AMDx64BT
1 Replies

8. Shell Programming and Scripting

How to compare current record,with next and previous record in awk without using array?

Hi! all can any one tell me how to compare current record of column with next and previous record in awk without using array my case is like this input.txt 0 32 1 26 2 27 3 34 4 26 5 25 6 24 9 23 0 32 1 28 2 15 3 26 4 24 (7 Replies)
Discussion started by: Dona Clara
7 Replies

9. Shell Programming and Scripting

awk - compare 1st 15 fields of record with 20 fields

I'm trying to compare 2 files for differences in a selct number of fields. When differnces are found it will write the whole record of the second file including appending '|C' out to a delta file. Each record will have 20 fields, but only want to do comparison of 1st 15 fields. The 1st field of... (7 Replies)
Discussion started by: sljnk
7 Replies

10. UNIX for Beginners Questions & Answers

Is there a UNIX command that can compare fields of files with differing number of fields?

Hi, Below are the sample files. x.txt is from an Excel file that is a list of users from Windows and y.txt is a list of database account. $ head -500 x.txt y.txt ==> x.txt <== TEST01 APP_USER_PROFILE USER03 APP_USER_PROFILE TEST02 APP_USER_EXP_PROFILE TEST04 APP_USER_PROFILE USER01 ... (3 Replies)
Discussion started by: newbie_01
3 Replies
SNMP-USM-AES-MIB(7)							MIB						       SNMP-USM-AES-MIB(7)

SNMP-USM-AES-MIB DEFINITIONS ::= BEGIN
    IMPORTS
	MODULE-IDENTITY, OBJECT-IDENTITY,
	snmpModules		FROM SNMPv2-SMI 	 -- [RFC2578]
	snmpPrivProtocols	FROM SNMP-FRAMEWORK-MIB; -- [RFC3411]

snmpUsmAesMIB  MODULE-IDENTITY
    LAST-UPDATED "200406140000Z"
    ORGANIZATION "IETF"
    CONTACT-INFO "Uri Blumenthal
		  Lucent Technologies / Bell Labs
		  67 Whippany Rd.
		  14D-318
		  Whippany, NJ	07981, USA
		  973-386-2163
		  uri@bell-labs.com

		  Fabio Maino
		  Andiamo Systems, Inc.
		  375 East Tasman Drive
		  San Jose, CA	95134, USA
		  408-853-7530
		  fmaino@andiamo.com

		  Keith McCloghrie
		  Cisco Systems, Inc.
		  170 West Tasman Drive
		  San Jose, CA	95134-1706, USA

		  408-526-5260
		  kzm@cisco.com"
    DESCRIPTION  "Definitions of Object Identities needed for
		  the use of AES by SNMP's User-based Security
		  Model.

		  Copyright (C) The Internet Society (2004).

	    This version of this MIB module is part of RFC 3826;
	    see the RFC itself for full legal notices.
	    Supplementary information may be available on
	    http://www.ietf.org/copyrights/ianamib.html."
    REVISION	 "200406140000Z"
    DESCRIPTION  "Initial version, published as RFC3826"

    ::= { snmpModules 20 }

usmAesCfb128Protocol OBJECT-IDENTITY
    STATUS	  current
    DESCRIPTION  "The CFB128-AES-128 Privacy Protocol."
    REFERENCE	 "- Specification for the ADVANCED ENCRYPTION
		    STANDARD. Federal Information Processing
		    Standard (FIPS) Publication 197.
		    (November 2001).

		  - Dworkin, M., NIST Recommendation for Block
		    Cipher Modes of Operation, Methods and
		    Techniques. NIST Special Publication 800-38A
		    (December 2001).
		 "
    ::= { snmpPrivProtocols 4 }

END
Erlang/OTP SNMP SNMP-USM-AES-MIB(7)
All times are GMT -4. The time now is 05:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy