help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Printing from Array


From: Stephane Chazelas
Subject: Re: [Help-bash] Printing from Array
Date: Thu, 21 May 2015 20:59:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

2015-05-21 18:52:08 +0200, Richard Taubo:
[...]
> "${myColumn#*}"
[...]

Note that ${var#pattern} is $var with the shortest string that
matches pattern removed from the start. The empty string is the
shortest string that matches *, so ${myColumn#*} is the same as
${myColumn}

-- 
Stephane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]