[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] No tilde expansion in [[..]] when reading input with rea
From: |
Matthew Cengia |
Subject: |
Re: [Help-bash] No tilde expansion in [[..]] when reading input with read |
Date: |
Mon, 25 Feb 2013 12:24:18 +1100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On 2013-02-25 09:08, Chris Down wrote:
> Here it is with the dependency on `awk' removed (no external dependencies):
[...]
> done < /etc/passwd
done < <(getent passwd)
[...]
> Again, any suggestions for improvement welcome.
Were I assuming Linux, I'd make the above substitution. I assume there
are equivalents on other Unices, but don't know what they are.
--
Regards,
Matthew Cengia
signature.asc
Description: Digital signature