It's great that its working for my attached files but hwen I used twoo ther files with different data to do the same thin means to put same conditon it doesnt wrk(output s blank)
Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2
file 1 sample
SNDK 80004C101 AT
XLNX 983919101 BB
NETL 64118B100 BS
AMD 007903107 CC
KLAC 482480100 DC
TER 880770102 KATS
ATHR 04743P108 KATS... (7 Replies)
Hi
i have a file which have a pattern like this
Nov 10 session closed
Nov 10 Nov 9 08:14:27 EST5EDT 2010 on tty .
Nov 10 Oct 19 02:14:21 EST5EDT 2010 on pts/tk .
Nov 10 afrtetryytr
Nov 10 session closed
Nov 10 Nov 10 03:21:04 EST5EDT 2010
Dec 8 Nov 10 05:03:02 EST5EDT 2010
... (13 Replies)
Hi all,
I have ot match sentence list and word list anf fetch similar words in a separate file
second file with 2 columns
So I want the output shuld be 2 columns like this (3 Replies)
Hi all,
I have 7 words
Now I have 1 file which contain data in large number of rows and columns
and 6th column contain any of these words or may be more than one words among above 7 words:
I want
script should search for the above mentioned 7 words in the 6th column
... (9 Replies)
Hi all,
I have 2 files
one file contain data like this in one column
AST3
GSTY4
JST3
second file containign data like this in 2 columns
AST3(PAXXX),GSTY4(PAXXY) it is used in diabetes
KST4 it is used in blood... (6 Replies)
Hi all
I have following file which I have to edit for research purpose
file:///tmp/moz-screenshot.png body, div, table, thead, tbody, tfoot, tr, th, td, p { font-family: "Liberation Sans"; font-size: x-small; } Drug: KRP-104 QD Drug: Placebo Drug: Metformin|Drug:... (15 Replies)
Hi guys
As my previous one is not working now I have a different problem with me
one file with entries
F2
F3
YUH
SUH
second fiel several columns like excel sheet (8-9) but my file in text
F2 fgf gfhjhjghjghj dhgfhgfh 234324
F3 ... (6 Replies)
Hi Solved these kind of issues using these codes But these are not wrking for my attached files can anybody check........
awk 'NR==FNR{X++;next}{if(X){print}}' file1 file2
awk 'NR==FNR{X=$0;next}{n=split($1,P," ");sub($1,"",$0);for(i=1;i<=n;i++){if(X]){print P,$0}}}' file1 FS="\t" file2
... (6 Replies)
Hi Friends,
How to fetch current hour data from a log file, given below?
I want all lines after the match "Wed Aug 13 16:"
I have tried below command, but not working. If I put exact string, then it is working.
cat /iscp/user/monitor/ORA_errors |awk '/`date +%h" "%d" "%h`/,printed==999 {... (7 Replies)
Discussion started by: suresh3566
7 Replies
LEARN ABOUT OSF1
rcsclean
rcsclean(1)rcsclean(1)NAME
rcsclean - clean up working files
SYNOPSIS
rcsclean [options] [file...]
OPTIONS
Use subst style keyword substitution when retrieving the revision for comparison. See co(1) for details. Do not actually remove any files
or unlock any revisions. Using this option will tell you what rcsclean would do without actually doing it. Do not log the actions taken
on standard output. This option has no effect other than specifying the revision for comparison. Unlock the revision if it is locked and
no difference is found. Emulate RCS version n. See co(1) for details. Use suffixes to characterize RCS files. See ci(1) for details.
DESCRIPTION
rcsclean removes working files that were checked out and never modified. For each file given, rcsclean compares the working file and a
revision in the corresponding RCS file. If it finds a difference, it does nothing. Otherwise, it first unlocks the revision if the -u
option is given, and then removes the working file unless the working file is writable and the revision is locked. It logs its actions by
outputting the corresponding rcs -u and rm -f commands on the standard output.
If no file is given, all working files in the current directory are cleaned. Pathnames matching an RCS suffix denote RCS files; all others
denote working files. Names are paired as explained in ci(1).
The number of the revision to which the working file is compared may be attached to any of the options -n, -q, -r, or -u. If no revision
number is specified, then if the -u option is given and the caller has one revision locked, rcsclean uses that revision; otherwise rcsclean
uses the latest revision on the default branch, normally the root.
rcsclean is useful for clean targets in Makefiles. See also rcsdiff(1), which prints out the differences, and ci(1), which normally asks
whether to check in a file if it was not changed.
RESTRICTIONS
At least one file must be given in older Unix versions that do not provide the needed directory scanning operations.
EXAMPLES
rcsclean *.c *.h
removes all working files ending in or that were not changed since their checkout. rcsclean
removes all working files in the current directory that were not changed since their checkout.
ENVIRONMENT
options prepended to the argument list, separated by spaces. A backslash escapes spaces within an option. The RCSINIT options are
prepended to the argument lists of most RCS commands. Useful RCSINIT options include -q, -V, and -x.
DIAGNOSTICS
The exit status is zero if and only if all operations were successful. Missing working files and RCS files are silently ignored.
FILES
rcsclean accesses files much as ci(1) does.
IDENTIFICATION
Author: Walter F. Tichy.
Revision Number: 1.1.6.2; Release Date: 1993/10/07.
Copyright (C) 1982, 1988, 1989 by Walter F. Tichy.
Copyright (C) 1990, 1991 by Paul Eggert.
SEE ALSO ci(1), co(1), ident(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.
rcsclean(1)