From: Ian Jackson Subject: Re: [PATCH RFC 2/4] osstest: add support for installing bare metal FreeBSD Date: Wed, 13 Aug 2014 14:45:31 +0100 Message-ID: <21483.27643.181326.536914@mariner.uk.xensource.com> References: <1407858572-32140-1-git-send-email-roger.pau@citrix.com> <1407858572-32140-3-git-send-email-roger.pau@citrix.com> <21482.17400.370008.962884@mariner.uk.xensource.com> <53EB68A5.8050408@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XHYrv-0007lU-6s for xen-devel@lists.xenproject.org; Wed, 13 Aug 2014 13:45:35 +0000 In-Reply-To: <53EB68A5.8050408@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Roger Pau Monn=E9 writes ("Re: [PATCH RFC 2/4] osstest: add support for ins= talling bare metal FreeBSD"): > Using echo seems better than printf: ... > # printf "-Dh" > printf: Illegal option -D You want printf "%s" "-Dh" $ echo -h -h $ echo -n $ echo -nDh -nDh $ echo -n Dh Dh$ $ printf %s -Dh -Dh$ $ type echo echo is a shell builtin $ echo $SHELL /bin/bash $ /bin/echo -n $ dpkg -S /bin/echo coreutils: /bin/echo $ Ian.