[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] opposite of 'shift'
From: |
Peng Yu |
Subject: |
Re: [Help-bash] opposite of 'shift' |
Date: |
Thu, 16 Feb 2012 17:16:08 -0600 |
> If you aren't willing to back up any of your wild ideas with actual
> patches and concrete evidence why it makes life easier, then quit
> proposing "features" that most shell scripters will never use in the
> first place.
If there were such a unshift function, how do you just people would
not use it? Languages have something similar to unshift do not have to
justify why unshift should be implemented and how many users would use
them before unshift was implemented.
A fare comparison is that which of the following is better?
set -- xxx $@
or
unshift xxx
It is obvious that the 2nd case is better.
As Chet said, bash is a language, whether people call it "scripting"
or not. It doesn't have to less features.
--
Regards,
Peng
- Re: [Help-bash] opposite of 'shift', (continued)
- Re: [Help-bash] opposite of 'shift', Pierre Gaston, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Peng Yu, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Greg Wooledge, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Peng Yu, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Greg Wooledge, 2012/02/16
- Re: [Help-bash] opposite of 'shift', lxnf98mm, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Pierre Gaston, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Chet Ramey, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Chet Ramey, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Eric Blake, 2012/02/16
- Re: [Help-bash] opposite of 'shift',
Peng Yu <=
- Re: [Help-bash] opposite of 'shift', Greg Wooledge, 2012/02/17
- Re: [Help-bash] opposite of 'shift', Davide Brini, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Clark J. Wang, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Dan Douglas, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Greg Wooledge, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Dan Douglas, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Chet Ramey, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Dan Douglas, 2012/02/16
- Re: [Help-bash] opposite of 'shift', Pierre Gaston, 2012/02/17
- Re: [Help-bash] opposite of 'shift', Steven W. Orr, 2012/02/17