Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
32 or 64
- X-seq: zsh-users 22243
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: 32 or 64
- Date: Wed, 21 Dec 2016 11:15:20 -0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Gentlemen:
Now that I have both 32 bit and 64 bit versions of various binaries,
whereas I used to just store them in a /Bin directory which is on my
path, now, if I'm jumping back and forth between 32 bit Debian and 64
bit Debian, whereas previously different installs could share the same
/Bin directory (all being 32 bit previously) now I hafta be able to
distinguish 32 from 64, so I'm thinking to symlink /Bin to either /Bin32
or /Bin64 and I'm wondering if there might be a simple way for zsh to
make that link for me based on knowing if either itself, or the kernel
is 32 or 64 bit. I could test the output of 'uname -r' of course, but
I'd not be surprised if zsh can do it more elegantly and robustly than
checking for substrings in the kernel name.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author