[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: let's set the positional parameters with a simple 'read'
From: |
Greg Wooledge |
Subject: |
Re: let's set the positional parameters with a simple 'read' |
Date: |
Tue, 3 Jan 2012 12:36:30 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Jan 04, 2012 at 01:16:27AM +0800, jidanni@jidanni.org wrote:
> So I propose we 'wreck the language' to allow me to do
> $ read @
> to set $@, same with 1, 2,.. * (almost the same as @).
Why not just use a named array?
$ read -a myarray