Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15107
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | L A Walsh <bash@tlinx.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: continued alias problem -- some work, some don't, why? |
| Date | Tue, 09 Jul 2019 20:05:39 -0700 |
| Lines | 22 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.766.1562727951.2688.bug-bash@gnu.org> (permalink) |
| References | <5D23C417.5060108@tlinx.org> <868f9e01-eaea-86e2-6d42-b07f5d10539a@case.edu> <5D255603.2080500@tlinx.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1562727952 20198 209.51.188.17 (10 Jul 2019 03:05:52 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash <bug-bash@gnu.org> |
| To | chet.ramey@case.edu |
| Envelope-to | bug-bash@gnu.org |
| User-Agent | Thunderbird |
| In-Reply-To | <868f9e01-eaea-86e2-6d42-b07f5d10539a@case.edu> |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] |
| X-Received-From | 173.164.175.65 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <5D255603.2080500@tlinx.org> |
| X-Mailman-Original-References | <5D23C417.5060108@tlinx.org> <868f9e01-eaea-86e2-6d42-b07f5d10539a@case.edu> |
| Xref | csiph.com gnu.bash.bug:15107 |
Show key headers only | View raw
On 2019/07/09 06:40, Chet Ramey wrote: > >> With these aliases: >> alias my='declare ' Export='-x ' Map='-A ' Int='-i ' >> >> my Export Map Int ffffe=([one]=1) >> -bash: declare: `-x': not a valid identifier >> -bash: declare: `-A': not a valid identifier >> -bash: declare: `-i': not a valid identifier >> > I can't reproduce this. > My problem: '-x' was already an alias for 'chmod -- -x ', so changing Export's alias to '\-x ', "solves" this syntax problem. I've never needed -r or -w, but have desired, at times, the positive forms of all 3 (+r +w +x) Yeah, I really do have typing injuries, so abbreviations for oft used identical actions are useful. Thanks for verifying...
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: continued alias problem -- some work, some don't, why? L A Walsh <bash@tlinx.org> - 2019-07-09 20:05 -0700
csiph-web