zsh-users
 help / color / mirror / code / Atom feed
* trapped in bash
@ 2016-12-16 15:33 Ray Andrews
  2016-12-16 21:51 ` Aaron Schrab
  2016-12-17 23:16 ` Jim
  0 siblings, 2 replies; 17+ messages in thread
From: Ray Andrews @ 2016-12-16 15:33 UTC (permalink / raw)
  To: Zsh Users

So I'm setting up a new machine with Debian 64 (using Debian 32 still on 
old machine) and I'm thinking to just copy over my whole zsh install 
from here to there and ... nope ... I 'cd' to where the binary is and 
type  'zsh' and bash reports that it can't find the file.  Copy it to 
'/bin' and it still can't find it.  Even the desperate '. ./zsh' reports 
'cannot execute binary file'.  I hope to gawd that an apt-get install of 
zsh would work, but I'd like to use my existing setup exactly as is. Do 
I have to rebuild? I'm new with 64 bit issues, whatever they may happen 
to be, but I thought a 64 bit environment could always run 32 bit apps.  
Or have I forgotten something simple? Meanwhile  I'm trapped in the 
pre-fire age of bash out of the box. Even 'ls -l' doesn't work, 
filenames only.  They say that suffering purifies the soul ;-)

BTW:

     _array=( ${(f)_variable} )
     _count=$#_array   # Count the number of lines.

Can that be simplified? I don't need the _array, just the _count. Of 
course there are any number of utilities to count lines, but I mean the 
simplest zsh way, although the above is nicely self-explanatory.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-12-19 17:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16 15:33 trapped in bash Ray Andrews
2016-12-16 21:51 ` Aaron Schrab
2016-12-16 22:39   ` Ray Andrews
2016-12-16 23:05     ` Bart Schaefer
2016-12-17 20:27       ` Ray Andrews
2016-12-17 20:43         ` Bart Schaefer
2016-12-17 22:40           ` Ray Andrews
     [not found]           ` <5855BEF2.6090208__18199.534857604$1482015164$gmane$org@eastlink.ca>
2016-12-18 15:06             ` Daniel Shahaf
2016-12-18 15:54               ` Ray Andrews
2016-12-19  0:32                 ` Daniel Shahaf
2016-12-19  2:30                   ` Bart Schaefer
2016-12-19  4:29                     ` Ray Andrews
2016-12-19  5:48                       ` Bart Schaefer
2016-12-19 16:26                         ` Ray Andrews
     [not found]                         ` <ab7aeb33-d091-6602-8baa-cce92300d289__26556.3400615521$1482166729$gmane$org@eastlink.ca>
2016-12-19 17:47                           ` Daniel Shahaf
2016-12-17 23:16 ` Jim
2016-12-17 23:38   ` Ray Andrews

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).