Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174194
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Trivial script will NOT execute |
| Date | 2016-11-05 16:50 +0100 |
| Message-ID | <sAbod-1dk-5@gated-at.bofh.it> (permalink) |
| References | <szXuW-Ff-1@gated-at.bofh.it> <szXEB-Xj-1@gated-at.bofh.it> <szY7D-16t-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri 04 Nov 2016 at 20:37:53 (-0500), Richard Owlett wrote: > On 11/4/2016 7:54 PM, John L. Ries wrote: > >Any chance the current directory is not in your path? > > > > That's not a mere 'scary' thought, > it is a *TERRIFYING* thought :< Steady on... > "Why?" you may ask. > " 'cause it implies an intrinsic failure of *nix documentation." Or of someone to read it. > What should I "be reading"/"have read" ? man bash (Put whatever shell you use.) Anyone changing their $PATH should make themselves aware of the danger of adding . explicitly, or even implicitly by, say, thinking that : is a delimiter rather than a separator, or by screwing up a parameter substitution and ending up with :: anywhere in the $PATH. The current working directory is included here three times—at the beginning, middle and end. :/usr/bin::/bin:. One other point. I see you use spaces in your filenames. Regardless of this, you should quote your strings in such as FILENAME=$F$N$E Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trivial script will NOT execute Richard Owlett <rowlett@cloud85.net> - 2016-11-05 02:00 +0100
Re: Trivial script will NOT execute "John L. Ries" <jries@salford-systems.com> - 2016-11-05 02:10 +0100
Re: Trivial script will NOT execute Richard Owlett <rowlett@cloud85.net> - 2016-11-05 02:40 +0100
Re: Trivial script will NOT execute "John L. Ries" <jries@salford-systems.com> - 2016-11-05 04:30 +0100
Re: Trivial script will NOT execute David Wright <deblis@lionunicorn.co.uk> - 2016-11-05 16:50 +0100
Re: Trivial script will NOT execute Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-07 14:00 +0100
Re: Trivial script will NOT execute David Wright <deblis@lionunicorn.co.uk> - 2016-11-07 14:50 +0100
Re: Trivial script will NOT execute Christian Seiler <christian@iwakd.de> - 2016-11-05 02:20 +0100
Re: Trivial script will NOT execute Ben Caradoc-Davies <ben@transient.nz> - 2016-11-05 04:00 +0100
Re: Trivial script will NOT execute sunrise@mailbug.com - 2016-11-05 02:40 +0100
csiph-web