Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2000 09:43:29 +0200
From:      "Dan Larsson" <dl@tyfon.net>
To:        <questions@freebsd.org>
Subject:   making even columns in sh
Message-ID:  <NEBBJANJCNNAKCPFKHHFMENECBAA.dl@tyfon.net>

next in thread | raw e-mail | index | archive | help
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?

Regards
------------
Dan Larsson


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?NEBBJANJCNNAKCPFKHHFMENECBAA.dl>