Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Removing leading paces
- X-seq: zsh-users 15008
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- Subject: Re: Removing leading paces
- Date: Wed, 14 Apr 2010 00:36:03 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=rzzxxyj/35GCRzdS+zNb4Jxxe3WFKZjLExHoW8jVyNE=; b=x5vro42+c+w4YTUHgYtDnHLbHWOZzalu/e3LvvliffRo6XV4DUQQ0s7G40vatfdS4P 6U/hcwUjNl7pJw0qR36f3wG4hDCEkJ9hCImo/SVRQez6rxDUiBC9WxXQnfqqRjIyR+Xc bm+b+Orn9JV1ADaTeOwgTx9sx6/L2Z39gAe80=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=E6L5NoTnzAQddCvTLxoXmoI3IU+p8fe4iWAZnjdtaFt+6ardH2EM2PH+BJpB6ICjqe nS2ZWS5TO8RhSltTrW0f+w+k3MBx3lEU/Lv7zPzJ2oe2ut1Sl437gjmeBeYuFLl2zEFi PV1T1SESiXxvBo/u14YTjcQzqnM4uBWWJYz3w=
- In-reply-to: <hq2r8a$q7r$1@xxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <hq2r8a$q7r$1@xxxxxxxxxxxxxxx>
On 14 April 2010 00:29, Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx> wrote:
> Quick question: how can I remove leading space from a string (for
> example: string=" 456")?
>
> Thorsten
${string## #} seems to work.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author