8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I'm stumped.
First... APOLOGIES... my work is offline in an office that has zero internet connectivity, as required by our client. If need be, I could print out my script attempts and retype them here. But on the off chance... here goes.
I have a text file (file_source) of terms, each line... (3 Replies)
Discussion started by: Brusimm
3 Replies
2. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
Discussion started by: sravanreddy
4 Replies
3. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (1 Reply)
Discussion started by: sravanreddy
1 Replies
4. Shell Programming and Scripting
Hi All
I have written the following script:
#!/bin/ksh
while read cmdline
do
echo `$cmdline`
pid="$cmdline"
done<commands.txt
===========
commands.txt contains:
ps -ef | grep abc | grep xyz |awk '{print $2};
My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies
5. Shell Programming and Scripting
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
Discussion started by: mlpathir
3 Replies
6. UNIX for Advanced & Expert Users
Hi Gurus,
I am having an requirement. i have to read a list file which contains file names and send mail to different users based on the files in the list file.
eg. if file a.txt exists then send a mail to a@a.com
simillary for b.txt,c.txt etc.
Thanks for your help,
Nimu (6 Replies)
Discussion started by: nimu1979
6 Replies
7. AIX
Hi,
I am looking for a tool or utility to browse/edit VSAM files in Unix on AIX box. Looking for something similar to FileAid or FIleManager we use on MVS.
If you have anything in your knowledge then please share with me.
Thanks,
Satish (2 Replies)
Discussion started by: satishkhatri
2 Replies
8. Shell Programming and Scripting
Hi
How can i dynamically read files names from a list file and execute them from a single shell script.
Please help its urgent
Thanks in Advance (4 Replies)
Discussion started by: anushilrai
4 Replies
invcutter(1) General Commands Manual invcutter(1)
NAME
invcutter - Generates a subset inventory file
SYNOPSIS
/usr/lbin/invcutter [-d] [-f root-path] [-v version-code]
OPTIONS
Enables debugging. No useful diagnostics are printed. Specifies an alternate root path for finding file attribute information. Specifies
a 3-digit version code for use in the version field of the output records. The default version code is 010.
DESCRIPTION
The contents of a software product kit for the setld(8) command are specified by a master inventory file whose format is described in the
stl_mi(4) reference page. The invcutter command processes a master inventory file by reading inventory records from standard input and
writing one record to standard output for each record read.
The information contained in the output record is derived from the input record and from the file attribute information in the file hierar-
chy rooted in the current directory.
RESTRICTIONS
Input records must be sorted in ascending ASCII order on the pathname field.
The invcutter command cannot process input-specified files which exist as sockets in the file hierarchy.
If an input-specified file has a link count greater than 1, all other links to the file must be represented in the input.
RETURN VALUES
An exit status of 0 indicates success. An exit status of 1 indicates an error. See ERRORS.
ERRORS
The program cannot set its working directory to the pathname directory specified with the -f option. The error-message provides additional
information. The nth input record is not in the correct sort order. All input records must be in ascending ASCII collating sequence on
the pathname field. An error has occurred attempting to read the attributes of filename. The error-message explains exactly what happened.
The file named by pathname is a socket. Sockets are not supported as valid file types for distribution. File pathname in the master
inventory is linked to n files which do not appear in the master inventory. Check the inventory for validity with the newinv program.
This informational message states how many files with unresolved links were detected in the input inventory.
EXAMPLES
The following command generates inventory records for the master inventory entries in PDS020.mi. Output records contain version fields set
to 020: invcutter -v 020 < PDS020.mi
SEE ALSO
Commands: kits(1), newinv(1)
Files: stl_inv(4), stl_mi(4)
Guide to Preparing Product Kits
invcutter(1)