[HPADM] Script Question

From: Lal, Neeraj (Neeraj.Lal@Pfizer.com)
Date: Thu Sep 12 2002 - 17:41:48 EDT


Hi Admins

I have a small question on script

In a variable let us say I store a=12345 and now I want to print or store in
another variable where that variable will always be 7 byte and it should be
stored as right justified

in an examle to illsutrate more

a=12345
it should be tranformed as b=space1space212345 (b variable will never be
more than 7 bytes)
or
a=123456
b should space1123456

or another case to explain further

a=123
so be should be space1space2spcae3space4123

Thanks
Neeraj Lal

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:19 EDT