07-01-2009
I did try it but i'm getting "failed to open the next directory"
How can i make it go search every directory and subdirectory for files then perform the tool on every file it find?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi.. when I do a ls -lt, I get a listing of about 200 files.. These are trace files and some of it I might not need..
To be clear, say in a given week , I might not need files that have been traced between 11 and 11:30 am on a particular day. How can I delete based on this condition ?
Thanks,... (4 Replies)
Discussion started by: ST2000
4 Replies
2. Shell Programming and Scripting
Hi Friends,
Can any one help with this:
I have a huge file with the format as
A SAM 4637
B DEPT1 4758 MILAN
A SMITH 46585
B DEPT2 5385 HARRYIS
B SAMUL 63547 GEORGE
B DANIEL 899 BOISE
A FRES 736 74638
I have to read this file and write only the records that starts with "B" only
... (5 Replies)
Discussion started by: sbasetty
5 Replies
3. Shell Programming and Scripting
Hi,
I have the oracle table coulns in an order like
date, state1, state2....state9
and i need to prepare data from the script output for loading in to this table
The script is
#!/bin/ksh
/usr/xpg4/bin/awk -F"-" '{print $2,$4}' /aemu/ErrorLogs/data/MissingCGIcount.txt |... (5 Replies)
Discussion started by: aemunathan
5 Replies
4. Shell Programming and Scripting
Hi,
I need to remove some lines from an XML file is the value within a tag is empty.
Imagine this scenario,
<acd><acdID>2</acdID><logon></logon></acd>
<acd><acdID></acdID><logon></logon></acd>
<acd><acdID></acdID><logon></logon></acd>
<acd><acdID></acdID><logon></logon></acd>
I... (3 Replies)
Discussion started by: giles.cardew
3 Replies
5. Shell Programming and Scripting
Hello,
I am looking for concatenating the lines based on conditions. Below are the contents of the file:
Infile:
-----
Test1.PO_Itm COLUMN GAC_DT.
Test1.PO_Itm COLUMN (PRODTCD ,PLNTCD).
Test1.PO_Itm COLUMN PLNTCD.
Test1.PO_Itm COLUMN ACTVIND.
Test2.RgnToTerrtryGPI COLUMN... (3 Replies)
Discussion started by: indrajit_u
3 Replies
6. Shell Programming and Scripting
Hi,
I am unable to search the duplicates in a file based on the 1st,2nd,4th,5th columns in a file and also remove the duplicates in the same file.
Source filename: Filename.csv
"1","ccc","information","5000","temp","concept","new"
"1","ddd","information","6000","temp","concept","new"... (2 Replies)
Discussion started by: onesuri
2 Replies
7. Shell Programming and Scripting
I want to comment 2 lines based on a condition. If THEN occurs immediately after WHEN then i have to comment both the lunes
For example :
$cat file1.txt
CASE
WHEN
THEN 1
WHEN
c1= 'I'
AND c2= '0'
THEN 2
So in this example i want to... (2 Replies)
Discussion started by: ashwin3086
2 Replies
8. UNIX for Dummies Questions & Answers
Below is the sample logfile:
Userids Date Time
acb Checkout time: 2013-11-20 17:00
axy Checkout time: 2013-11-22 12:00
der Checkout time: 2013-11-17 17:00
xyz Checkout time: 2013-11-19 16:00
ddd Checkout time: 2013-11-21 16:00
aaa Checkout... (9 Replies)
Discussion started by: asjaiswal
9 Replies
9. Shell Programming and Scripting
Hello:
I need to copy down some data from the previous record in to the next record based on the below conditions
If position 41- 59 of the current record is same as the previous record and the value of position 62 is not equal to 1 then
copy the previous records value for positions... (1 Reply)
Discussion started by: techedipro
1 Replies
10. Shell Programming and Scripting
In the following tab-delimited input, I am checking $7 for the keyword intronic. If that keyword is found then $2 is split by the . in each line and if the string after the digits or the +/- is >10, then that line is deleted. This will always be the case for intronic. If $7 is exonic then nothing... (10 Replies)
Discussion started by: cmccabe
10 Replies
note(4) File Formats note(4)
NAME
note - specify legal annotations
SYNOPSIS
/usr/lib/note
DESCRIPTION
Each file in this directory contains the NOTE (also _NOTE) annotations legal for a single tool. The name of the file, by convention,
should be the tool vendor's stock name, followed by a hyphen, followed by the tool name. For example, for Sun's lock_lint tool the filename
should be SUNW-lock_lint.
The file should contain the names of the annotations understood by the tool, one per line. For example, if a tool understands the follow-
ing annotations:
NOTE(NOT_REACHED)
NOTE(MUTEX_PROTECTS_DATA(list_lock, list_head))
then its file in /usr/lib/note should contain the entries:
NOT_REACHED
MUTEX_PROTECTS_DATA
Blank lines, and lines beginning with a pound (#), are ignored.
While /usr/lib/note is the default directory tools search for such files, they can be made to search other directories instead simply by
setting environment variable NOTEPATH to contain the paths, separated by colons, of directories to be searched, e.g.,
/usr/mytool/note:/usr/lib/note.
USAGE
These files are used by such tools whenever they encounter NOTEs they do not understand. If a file in /usr/lib/note contains the annota-
tion, then it is valid.
If no such file contains the annotation, then the tool should issue a warning complaining that it might be invalid.
ENVIRONMENT VARIABLES
NOTEPATH specify paths to be searched for annotation files. Paths are separated by colons (":").
SEE ALSO
NOTE(3EXT)
SunOS 5.10 17 Jan 1995 note(4)