System variables from within QUIZ

fernando.olmos at hpa.com.au fernando.olmos at hpa.com.au
Thu Nov 30 17:55:58 CST 2006


 
Oh and the result is a 1251 character long string, with the contents of
the portable subfile right justified. You then would have to left
justify it in QUIZ to get the line you need. OR you can do it within the
AWK command using sprintf() perhaps?
 
Thanks
 
-----Original Message-----
From: Fernando Olmos 
Sent: Friday, 1 December 2006 10:54 AM
To: 'atla38 at dsl.pipex.com'
Cc: 'powerh-l at lists.sowder.com'
Subject: RE: System variables from within QUIZ

 
!cat ./mipss156t2b.ps | awk '{printf("%1251s\n", $0)}' >
./mlink_file.dat

The mipss156t2b.ps is the data portion of the portable subfile and the
mlink_file.dat is the file referenced by the dictionary record
reference. The '$0' is saying, what ever comes out of that CAT command,
use it as a parameter into the printf() function, via the AWK command.
 
**********************************************************************
IMPORTANT
The contents of this e-mail and its attachments are confidential and intended
solely for the use of the individual or entity to whom they are addressed.  If
you received this e-mail in error, please notify the HPA Postmaster, postmaster at hpa.com.au,
then delete  the e-mail.
This footnote also confirms that this e-mail message has been swept for the
presence of computer viruses by Ironport. Before opening or using any
attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
HPA collects personal information to provide and market our services. For more
information about use, disclosure and access see our Privacy Policy at
www.hpa.com.au
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20061201/80682824/attachment.html


More information about the powerh-l mailing list