03-13-2008
abt viewing all the columns in the output as it is..
Hi,
How is it possible to get all the columns on the screen while v run a script.. Thr r abt 30 columns.. and whn i run the script the columns in the output r all messed up..
Please help..
Thanks..
RRVARMA
9 More Discussions You Might Find Interesting
1. Programming
Hi,
I need to know the purpose of .profile,config and env file .
what is the 1)similarties
2)difference
between these 3.
If env is not a file, when we give command env we are getting some information, from where or which file we are getting this... (0 Replies)
Discussion started by: sarwan
0 Replies
2. Gentoo
Salute 2 All.
I am totally unknown in LINUX glaxy.
There is any one whu can let me know abt LINUX.
There is any one whu have a few time to help me for teaching LINUX
I want to learn & understand all abt LINUX (5 Replies)
Discussion started by: AhsanPrince
5 Replies
3. UNIX for Dummies Questions & Answers
Dear all,
I got some questions abt how does the Unix kernel work
with the work with the other components. (step by step)
Can any body tell me some info abt that? if can provide
a example for each question that gonna be perfect!
Thank you!!!
1. How file management system work together... (2 Replies)
Discussion started by: melbdavid
2 Replies
4. Shell Programming and Scripting
I'm writing a script to analyze the logs of an smtp relay machine and I'd like the final output to be displayed in columns showing results from the previous day, week, month, and 45 days. The problem I'm running into is that I can't figure out how to display the columns neatly so there is no... (1 Reply)
Discussion started by: jjamd64
1 Replies
5. UNIX for Dummies Questions & Answers
Hi friends,
I have a small doubt about cut command.
cut -f2 -d_
Can anybody tel me what does the underscore after 'd' stand for? Is it some kind of comment, coz I am not able to make out any difference when I executed the below command...
head -10 file.txt|cut -f2 -d_
It was... (3 Replies)
Discussion started by: divzz
3 Replies
6. Shell Programming and Scripting
Hi ! All
This is very simple question....
How to write a 'cp' command interative.
Example :
cp /wlsuite/om/cm/Tools/deploy_scripts/*.xml ${INF_ROOT}/tmp | echo "" || echo " Pls investigate ..."
My intent was
> to copy the files.
> CP fails... then let know the user.
pls... (2 Replies)
Discussion started by: dashok.83
2 Replies
7. Shell Programming and Scripting
How to print a only files and not directories in a path.
for exam :a user consists both files and directoris in his path.
i have to write a script to display only files not dirctories.
and only dirctories not files.
Advance thanks to forum members.:) (5 Replies)
Discussion started by: sivaranga001
5 Replies
8. IP Networking
Hello to forum memebers,
Please help for below querry.
I am new n/w programming ,I wan to know abt the how to change IP to Domain name thorugh Shell script. I am looking for ur reply.
Plz.........
advance thanks to Forum.:) (2 Replies)
Discussion started by: sivaranga001
2 Replies
9. Shell Programming and Scripting
hi guys,
i got job recently in a company which provide a product for data backup and data recovery... as dis product is wrriten in c++ am workin in c++.. now am under training and i want to learn abt Operating System concepts and OS programming using c and c++. i know basic c and c++ programming... (0 Replies)
Discussion started by: senthil.march
0 Replies
LEARN ABOUT OPENDARWIN
column
COLUMN(1) BSD General Commands Manual COLUMN(1)
NAME
column -- columnate lists
SYNOPSIS
column [-tx] [-c columns] [-s sep] [file ...]
DESCRIPTION
The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or, by
default, from the standard input. Empty lines are ignored.
The options are as follows:
-c Output is formatted for a display columns wide.
-s Specify a set of characters to be used to delimit columns for the -t option.
-t Determine the number of columns the input contains and create a table. Columns are delimited with whitespace, by default, or with
the characters supplied using the -s option. Useful for pretty-printing displays.
-x Fill columns before filling rows.
DIAGNOSTICS
The column utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT
COLUMNS The environment variable COLUMNS is used to determine the size of the screen if no other information is available.
EXAMPLES
(printf "PERM LINKS OWNER GROUP SIZE MONTH DAY " ;
printf "HH:MM/YEAR NAME
" ;
ls -l | sed 1d) | column -t
SEE ALSO
colrm(1), ls(1), paste(1), sort(1)
HISTORY
The column command appeared in 4.3BSD-Reno.
BSD
June 6, 1993 BSD