Date: Wed, 10 May 2000 17:47:16 +1000 (EST) From: Gavin Cameron <gavin@itworks.com.au> To: Richard Grace <rgrace@itworks.com.au> Cc: Dan Larsson <dl@tyfon.net>, questions@freebsd.org Subject: RE: making even columns in sh Message-ID: <Pine.BSF.4.21.0005101747030.43716-100000@maybe.itworks.com.au> In-Reply-To: <NDBBILBEBIHJBLOEIKKCGEJPCHAA.rgrace@itworks.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
man 1 printf Gavin []-----------------------------------+------------------------------------[] | Gavin Cameron | ITworks Consulting | | Ph : +61 3 9642 5477 | Level 8, 488 Bourke Street | | Fax : +61 3 9642 5499 | Melbourne, Victoria | | Email : gavin@itworks.com.au | Australia, 3000 | []-----------------------------------+------------------------------------[] On Wed, 10 May 2000, Richard Grace wrote: > > I've written a simple script to display usernames > > with their $HOME as root (chrooted). The $HOME variable > > is extracted with awk and sed. > > > > However as usernames are not all the same lenght > > the columns (username chroot/path ) don't run > > straight down, that is the chroot/path column start > > depends on how long the username is. > > > > Is there some way I can manipulate the rows so that > > the second column is displayed in an 'orderly' fashion > > using sh? > > Try echoing a tab character (^I) in between. > > Richard Grace > > ITworks Consulting Pty. Ltd. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005101747030.43716-100000>