Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #523
Difficulty: Medium
Some programming languages implement strings by defining arrays of characters.
True or False?
Linux & Unix Commands - Search Man Pages

ident(1) [bsd man page]

IDENT(1)						      General Commands Manual							  IDENT(1)

NAME
ident - identify files SYNOPSIS
ident file ... DESCRIPTION
Ident searches the named files for all occurrences of the pattern $keyword:...$, where keyword is one of Author Date Header Locker Log Revision Source State These patterns are normally inserted automatically by the RCS command co (1), but can also be inserted manually. Ident works on text files as well as object files. For example, if the C program in file f.c contains char rcsid[] = "$Header: Header information $"; and f.c is compiled into f.o, then the command ident f.c f.o will print f.c: $Header: Header information $ f.o: $Header: Header information $ IDENTIFICATION
Author: Walter F. Tichy, Purdue University, West Lafayette, IN, 47907. Revision Number: 3.0 ; Release Date: 82/12/04 . Copyright (C) 1982 by Walter F. Tichy. SEE ALSO
ci (1), co (1), rcs (1), rcsdiff(1), rcsintro (1), rcsmerge (1), rlog (1), rcsfile (5). Walter F. Tichy, "Design, Implementation, and Evaluation of a Revision Control System," in Proceedings of the 6th International Conference on Software Engineering, IEEE, Tokyo, Sept. 1982. BUGS
Purdue University 6/29/83 IDENT(1)

Check Out this Related Man Page

ident(1)																  ident(1)

NAME
ident - identify files SYNOPSIS
ident [-q] [file...] DESCRIPTION
ident searches for all occurrences of the pattern $keyword:...$ in the named files or, if no file name appears, the standard input. These patterns are normally inserted automatically by the RCS command co(1), but can also be inserted manually. The option -q suppresses the warning given if there are no patterns in a file. ident works on text files as well as object files and dumps. For example, if the C program in f.c contains char rcsid[] = "$Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $"; and f.c is compiled into f.o, then the command # ident f.c f.o will output f.c: $Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $ f.o: $Id: ident.1,v 1.1.10.2 1999/08/13 19:58:10 Colin_Walters Exp $ IDENTIFICATION
Author: Walter F. Tichy. Revision Number: 1.1.6.4; Release Date: 1993/12/20. Copyright (C) 1982, 1988, 1989 by Walter F. Tichy. Copyright (C) 1990 by Paul Eggert. SEE ALSO
ci(1), co(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1), rcsfile(5) Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654. ident(1)

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How Many "Falling Unix Commands" are in the Flash Header?

(7 Replies)
Discussion started by: Neo
7 Replies

2. Post Here to Contact Site Administrators and Moderators

How Many "Falling Unix Commands" are in the Flash Header?

A poll!! (10 Replies)
Discussion started by: Neo
10 Replies

3. Shell Programming and Scripting

Loop through file and write out lines to file(s)

Hi, I am new to ksh scripting so your help will be much appreciated. I have a file called file.txt which looks like this Header 20050702 20050703 ABC DEF Header 20050703 20050704 123 456 Header 20050704 20050705 XXX YYY What I am trying to do is write out each of the record... (7 Replies)
Discussion started by: Jtrinh
7 Replies

4. Shell Programming and Scripting

Insertion of Header record

A header record is to be inserted in the begining of a flat file without using extra file or new file. It should be inserted into same file. Advace thanks for all help... (7 Replies)
Discussion started by: shreekrishnagd
7 Replies

5. Shell Programming and Scripting

Remove spaces between file names

Hi All, I have spaces in between file names. "Material Header.txt" "Customer Header.txt" "Vendor Header.txt" And how can I remove spaces between file names like below MaterialHeader.txt CustomerHeader.txt VendorHeader.txt Thanks Srimitta (10 Replies)
Discussion started by: srimitta
10 Replies

6. Shell Programming and Scripting

Creating Header & Trailer for bulk volume data file

Hi all, I have a requirement to create a Header &Trailer for a file which is having 20 millions of records. If I use the following method, i think it will take more time. cat "Header"> file1.txt cat Data_File>>file1.txt cat "Trailer">>file1.txt since second CAT command has to read all... (4 Replies)
Discussion started by: Raamc
4 Replies

7. Shell Programming and Scripting

Remove 5th & 6th <td> from file

I have a page with a 6<td> structure. I need to strip the 5th and 6th <td></td> from the structure. The data in the 4th <td> varies, I can't get a pattern on it. So, I tried setting up a count of the td occurrence and then remove the 5th and 6th, but I'm not making any progress. Is there an easy,... (6 Replies)
Discussion started by: dba_frog
6 Replies

8. UNIX for Dummies Questions & Answers

Help with the Header and Footer check

Hi, I need to check whether the incoming file has a header and footer using a UNIX script. The pattern of the header and footer is fixed as follows: Header: Name,Date Footer: Count, Total Name,Date ------------------------- ------------------------- ------------------------- Count,... (5 Replies)
Discussion started by: Sunny_teotia
5 Replies

9. Shell Programming and Scripting

Specific Header after every 30 records

Hi All, I have got a requirement. I have a source file, EMPFULL.txt and I need to split the data for every 30 records and place a Typical Header as below with system and page number too. 2012.01.03 Employee Dept Report 1... (6 Replies)
Discussion started by: srk409
6 Replies

10. UNIX for Dummies Questions & Answers

File Handling

Hi Team, I am trying to cut a large file into multiple files. It has Header 50,050 records Trailer ------------------------------------------- I need to cut the files into multiple files of 1000 records and should have the same header and trailer as the original files. ... (4 Replies)
Discussion started by: Gurkamal83
4 Replies

11. UNIX for Advanced & Expert Users

Revision Control System

We've recently migrated from Unix to Linux, and unfortunately one of the command 'chown' is turned down on the new environment. My dilemma is that whenever a user co (check-out), on new environment, scripts from RCS it overwrites the file ownership from the group ID to himself, and whenever he... (8 Replies)
Discussion started by: sethmj
8 Replies

12. Shell Programming and Scripting

Inserting Header to another file

Need your help in appending header(file1 contains header ) to my file2. I am using KSH AIX OS. I know how to do with taking temporary files. cat file1 >temp cat file2 >>temp mv temp file2 Is there way to append directly to a file in ksh. I don't find Sed -i option on my... (10 Replies)
Discussion started by: gvkumar25
10 Replies

13. UNIX for Dummies Questions & Answers

Eliminate Header and footer from EBCDIC file

Is there any command to eliminate Header and footer from EBCDIC file (4 Replies)
Discussion started by: abhilashnair
4 Replies

14. Shell Programming and Scripting

Column sum

I have a text file in below format First Column Header |Second Column Header| Third Column Header| Fourth Column Header| Fifth Column Header DATA1| 1.4|22.80| 6.6|6.55 DATA2| 1.4|NA| 6.8|6.83 DATA3| 2.4|22.80| 4.5| 4.45 DATA4| 4.4|NA| 8.8| 8.77 DATA5| 5.4|22.80| NA| 10.93 I need to... (4 Replies)
Discussion started by: ctrld
4 Replies

Featured Tech Videos