- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script output in table format
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 07:38 AM
тАО02-20-2003 07:38 AM
Script output in table format
I got a script that gives a lot of numeric output and now I want to put in table format....I just don??t know how!!! Is this possible to do?
If so...how can I do it?
I am really lost here...
Thanks in advance
SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 07:58 AM
тАО02-20-2003 07:58 AM
Re: Script output in table format
The easist way is to use formatted printing with 'printf'. See the man pages for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 08:01 AM
тАО02-20-2003 08:01 AM
Re: Script output in table format
If you tell me what the output looks like now and what you'd like it to look like, I can help you out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 08:50 AM
тАО02-20-2003 08:50 AM
Re: Script output in table format
If you have ever coded in C (or any syntactic C-alikes like Java, Perl, awk, Python etc.) you know how to use it.
On the other hand this is a true job for Perl (remember its acronym originally stood for "Practical Reporting and Extraction Language", though we all know that it stands for "Pathologically Eclectic Rubbish Lister").
See, the emphasis used to be on report generation.
For anything having to do with parsing, formatting, filtering text Perl to the rescue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 09:00 AM
тАО02-20-2003 09:00 AM
Re: Script output in table format
The command echo "$DATA1,$DATA2">>FILE is all you need. Then attach the file as a MIME compliant document with "uuencode FILE FILE|mailx -s "My subject" me@myplace.com. When it shows up in your email, just double-click on the attachment, and it will automatically open up in Excel.
Of course, this assumes that you have email working......if not, just ftp the document to your workstation, then double click.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 09:44 AM
тАО02-20-2003 09:44 AM
Re: Script output in table format
If you want HTML format in the output you can do this very easily wiht the tags
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2003 03:34 AM
тАО02-21-2003 03:34 AM
Re: Script output in table format
I solved my problem with echo and printf.
Thank you all.
SN