From owner-freebsd-questions Wed May 10 0:41:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hq1.tyfon.net (hq1.tyfon.net [213.212.29.17]) by hub.freebsd.org (Postfix) with ESMTP id 52AA937B5AA for ; Wed, 10 May 2000 00:41:47 -0700 (PDT) (envelope-from dl@tyfon.net) Received: from enigmatic (dan [192.168.1.20]) by hq1.tyfon.net (Postfix) with SMTP id 00D911C7B6 for ; Wed, 10 May 2000 09:41:45 +0200 (CEST) From: "Dan Larsson" To: Subject: making even columns in sh Date: Wed, 10 May 2000 09:43:29 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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