output display alignment !!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting output display alignment !!
# 8  
Old 07-21-2005
Hey That worked... I used your info as base and did it and it was proper !!.. the only problem was the last field has a combination of strings... so i just had to work on it a bit... but thanx a ton for the idea !!...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Coloring cli output, screws up 'alignment'

Heyas I'm trying to add color 'support' to my TUI. It works, but behaves weird. Code in question: (status.conf) R="\033" ; TUI_WORK="" TUI_DONE="" ; TUI_FAIL="" TUI_SKIP="" ; TUI_NEXT="" TUI_BACK="" ; TUI_CANC="" TUI_ON="" ; TUI_OFF="" TUI_INFO="" ; TUI_HELP="" The... (4 Replies)
Discussion started by: sea
4 Replies

2. Shell Programming and Scripting

Display the output

Hi, I have the following output of a shell script k m == -77.2820 (Act=79.9) i want to display only k m (6 Replies)
Discussion started by: sreejithalokkan
6 Replies

3. Shell Programming and Scripting

Display output by joining two files

1.txt A B C D 2nd file: 2.txt 1 2 3 4 Output that I want to get: A1 B2 C3 D4 How to get this output using awk command (5 Replies)
Discussion started by: sidpatil
5 Replies

4. Shell Programming and Scripting

Shell script output alignment

Hi How can I alaign the output of a script. Exaplme my script has assigned values to two variables, VAR1 and VAR2 VAR1=This is RAJ working as a DB2 UDB DBA for VISA Corporation, Need your help in Shell scripting VAR2= This is RAM working as a ORACLE DEVELOPER for TARGET... (1 Reply)
Discussion started by: thriloka
1 Replies

5. Shell Programming and Scripting

Output alignment problem

Hi Gurus, This is my raw data. How would I able to format this output into a better alignment? /dev/vg00/lvol5 /home 0.12 GB 0.02 GB 0.10 GB 19% /dev/vg00/misc /misc 28.43 GB 4.92 GB 23.51 GB 17% /dev/vg00/lvol6 /opt 8.25 GB 5.43 GB 2.82 GB 65% /dev/vgsap/ora10264 ... (10 Replies)
Discussion started by: superHonda123
10 Replies

6. Shell Programming and Scripting

Formatting output alignment

Hi Gurus, I've the following output from my scripting as shown below. 0.48 GB 0.29 GB 0.19 GB 60% 0.48 GB 0.29 GB 0.19 GB 60% 228.90 GB 89.47 GB 139.42 GB 39% 228.76 GB 72.37 GB 156.39 GB 31% Is it possible to format this output into a proper... (16 Replies)
Discussion started by: superHonda123
16 Replies

7. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

8. UNIX for Dummies Questions & Answers

Display output of one xterm on another

Setup: Two users, each likely on Windows PCs, using either putty or SecureCRT to connect to a remote Solaris server. The connection could be either telnet or ssh. Wanted: How can the output of one users xterm be directed to the other user so that you can easily allow someone to see what... (8 Replies)
Discussion started by: Vi-Curious
8 Replies

9. Shell Programming and Scripting

display and output...question

Hi, I have a small question about the value cannot display correctly: MSG=log fruit=apple print "No $fruit in the store" > "$MSG/fruit_message.txt" output: No $fruit in the store should be: No apple in the store AND $MSG/fruit_message.txt ----------> cannot find the... (5 Replies)
Discussion started by: happyv
5 Replies

10. Shell Programming and Scripting

Echo display alignment/sort order

Hi, My script prints a few varibales as each it reads each line of a text file and then prints them on screen, however iam having problem in aligning and sorting them. what happens is this Last First Number Mark leo 87798798... (1 Reply)
Discussion started by: shackman66
1 Replies
Login or Register to Ask a Question
LSREALM(1p)						User Contributed Perl Documentation					       LSREALM(1p)

NAME
lsrealm - List the realms in a DNSSEC-Tools realm file SYNOPSIS
lsrealm [options] <realm-files> DESCRIPTION
This script lists the contents of the specified realm files. All realm files are loaded before the output is displayed. If any realms have duplicated names, whether within one file or across multiple files, the later realm will be the one whose data are displayed. The output displayed for each realm in a realm file depends on the selected records, the selected attributes, and the selected output format. Each option in these option groups is described in detail in the next section. The three base output formats are described here. The -terse option indicates that a minimal amount of output is desired; the -long option indicates that a great deal of output is desired. The record-selection and attribute-selection options may be used in conjunction with -terse to display exactly the set of realm fields needed. The default output format is that used when neither -terse nor -long is given, and is a middle ground between terse and long output. The table below shows the fields displayed for each output format. realm field default terse long ------------- ------- ----- ---- realm name yes yes yes state yes no yes config directory no no yes realm directory no no yes rollrec file no no yes administrator no no yes directory no no yes display flag no no yes manager no no yes manager arguments no no yes user no no yes OPTIONS
There are three types of options recognized by lsrealm: record-selection options, attribute-selection options, and output-format options. Each type is described in the subsections below. Record-selection Options These options select the records that will be displayed by lsrealm. By default, all records will be displayed; selecting one or the other of these options will restrict the records shown. These options are mutually exclusive. -active List all active records in the realm file. -inactive List all inactive records in the realm file. Attribute-selection Options These options select the attributes of the records that will be displayed by lsrealm. -admin The record's administrator value is included in the output. If an administrator value is not included in a realm, then the value "(defadmin)" will be given. -args The record's user-defined arguments for the realm's rollover manager. -configdir The record's configuration directory is included in the output. This value will be the filename only, unless the -fullpaths option is given. In that case, the full pathname will be printed. -display The record's display flag, used by grandvizier is included in the output. -manager The record's manager field, indicating which rollover manager is used for the realm.. The default is rollerd, but individual installations may use other managers. -realmdir The record's realm directory is included in the output. This value will be the filename only, unless the -fullpaths option is given. In that case, the full pathname will be printed. -rollrec The record's rollrec file is included in the output. This value will be the filename only, unless the -fullpaths option is given. In that case, the full pathname will be printed. -state Include each realm record's state in the output. The state will be either "active" or "inactive". This field is part of the default output. -user The record's user field, which is the user the realm's manager will be executed with. This field is not yet implemented. Output-format Options These options select the type of output that will be given by lsrealm. -count Only a count of matching realms in the realm file is given. -fullpaths Display pathname data as the full pathname given in the realm file. If this option is not specified, only the filename itself will be displayed. -headers Display explanatory column headers. -terse Terse output is given. Only the record name and any other fields specifically selected are included in the output. -long Long output is given. All record fields are included. -help Display a usage message. -Version Displays the version information for lsrealm and the DNSSEC-Tools package. COPYRIGHT
Copyright 2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Wayne Morrison, tewok@tislabs.com SEE ALSO
dtrealms(8), grandvizier(8), realminit(8) Net::DNS::SEC::Tools::realm.pm(3) file-realm(5) perl v5.14.2 2012-06-21 LSREALM(1p)