Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Vanishing files ?
- X-seq: zsh-users 10328
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Vanishing files ?
- Date: Sun, 28 May 2006 11:32:00 -0700
- In-reply-to: <20060528.172405.74744323.Meino.Cramer@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060528.172405.74744323.Meino.Cramer@xxxxxx>
On May 28, 5:24pm, Meino Christian Cramer wrote:
}
} Why can I execute the contents of the script "tempwatch" but not the
} script itsself?
That usually means that the program named in the #! line is not where
the path in that line says it is.
Have you checked that you're not, for example, attempting to execute
a program named "/bin/zsh^M" (where ^M is a carriage return)? Or some
other stray character you can't see at the end of the line? I assume
zsh really is in /bin/.
} By the way: Does anyone know a trick how to remove _all_
} Escape-Sequences from a script generated by the command "script" ...
sed "s/[^"$'\t '"-~]//g"
The order of tab and space in $'\t ' is important. The above actually
strips anything that's not printable ASCII, so if you're using an ISO
character set you probably need to put more stuff inside the [ ].
Messages sorted by:
Reverse Date,
Date,
Thread,
Author