zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: Zsh Users <zsh-users@zsh.org>
Subject: executable not found
Date: Sun, 6 Oct 2019 12:04:22 -0700	[thread overview]
Message-ID: <0b8de286-a6c8-e9b4-9fba-5c1cd92960a2@eastlink.ca> (raw)

     I was trying to fire up an old backup of an executable I wrote:  
'ls' shows the current version and the backup:

...
-rwxr-xr-x 1 30152 2016-12-17/12:18:46 movemouse,1*
-rwxr-xr-x 1 10544 2016-12-17/12:57:53 movemouse*
...

     However zsh doesn't want to run it tho both are executable:

$ movemouse,1
zsh: command not found: movemouse,1

     Current directory is on my path:

PATH=".:/aWorking/Zsh/System:/aWorking/Bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

     So current directory should be searched.  I can't figure out why 
zsh isn't finding it.  The recent version 'movemouse' is found fine.  
Copying 'movemouse,1' to another name somewhere else on the path made no 
difference.  But there is this:

movemouse,1:
CONTENT: EXECUTABLE BINARY application/x-executable; charset=binary:

movemouse:
CONTENT: EXECUTABLE LIBRARY application/x-sharedlib; charset=binary:

     Is that the issue?  Can anything obvious be done?  Do I need to 
rebuild 'movemouse,1'?  Yet zsh should find it anyway, no?

     Trying:

$exec ./movemouse,1

     crashed the terminal as did:

$exec ./movemouse


             reply	other threads:[~2019-10-06 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-06 19:04 Ray Andrews [this message]
2019-10-06 19:10 ` Danh Doan
2019-10-06 19:15   ` Roman Perepelitsa
2019-10-06 20:10     ` Ray Andrews
2019-10-06 19:22   ` Ray Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0b8de286-a6c8-e9b4-9fba-5c1cd92960a2@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).