From owner-freebsd-questions Sat May 27 21:29:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mrs-1.smartworld.net (mrs-1-fix.smartworld.net [216.70.64.24]) by hub.freebsd.org (Postfix) with ESMTP id C748737BA0A for ; Sat, 27 May 2000 21:29:10 -0700 (PDT) (envelope-from dnormandin@freewwweb.com) Received: from odie (cust31.tnt1.dial.cal1.uunet.ca [209.167.219.31]) by mrs-1.smartworld.net (8.9.1a/8.9.1) with SMTP id AAA29707 for ; Sun, 28 May 2000 00:29:16 -0400 (EDT) Message-ID: <001601bfc85d$9b60f680$1fdba7d1@odie> From: "Duke Normandin" To: Subject: sh prompt Date: Sat, 27 May 2000 22:30:43 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have the following prompt in ~/.shrc: PS1="[$(tty | cut -c9-11)]:`whoami`.`hostname | sed 's/\..*//'`@"`pwd` case `id -u` in 0) PS1="${PS1}# ";; *) PS1="${PS1}$ ";; esac I want to introduce a ^J or \n in the "case" so that my prompt looks like: blah blah $ Anybody know how to get this to happen? Tia.... -duke -duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message