Sponsored Content
Full Discussion: help
Operating Systems Linux help Post 93174 by majoy on Friday 16th of December 2005 07:48:08 AM
Old 12-16-2005
Power

hi mbb.... thanks for the info.. I hope that is what they want me to do.... Smilie
I can't place escape characters or quotes to those special characters when I use them as part of my arguments. I have to find a way to display a message that will indicate that a special character is included in my arguments...

Do you or does anyone know how to do this? Or is there really a way that my script may treat them as an ordinary part of my string arguments? The only hint I got from them (those who are asking me to do this exercise) is that I have to trap the special character before the shell performs the character's function. Smilie(

This is too tough for me... hope I can hear some feedback.. thanks so much in advance..... Smilie
 
COLUMN(1)							   User Commands							 COLUMN(1)

NAME
column - columnate lists SYNOPSIS
column [options] file... DESCRIPTION
The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file or, by default, from standard input. Empty lines are ignored. OPTIONS
-c, --columns width Output is formatted to a width specified as number of characters. -t, --table 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 separator. Table output is useful for pretty-printing. -s, --separator separators Specify possible table delimiters (default is whitespace). -o, --output-separator separators Specify table output delimiter (default is two whitespaces). -x, --fillrows Fill columns before filling rows. -h, --help Print help and exit. ENVIRONMENT
The environment variable COLUMNS is used to determine the size of the screen if no other information is available. EXAMPLES
sed 's/#.*//' /etc/fstab | column -t BUGS
The util-linux version 2.23 changed -s option to be non-greedy, for example: $ printf "a:b:c 1::3 " | column -t -s ':' old output: a b c 1 3 new output (since util-linux 2.23) a b c 1 3 SEE ALSO
colrm(1), ls(1), paste(1), sort(1) HISTORY
The column command appeared in 4.3BSD-Reno. AVAILABILITY
The column command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux October 2010 COLUMN(1)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy