[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request: file_not_found_handle()
From: |
Chet Ramey |
Subject: |
Re: feature request: file_not_found_handle() |
Date: |
Mon, 19 Aug 2013 15:35:15 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
On 8/18/13 9:30 PM, Linda Walsh wrote:
>> A PATH search is suppressed when the command to be executed contains a
>> slash: the presence of a slash indicates an absolute pathname that is
>> directly passed to exec(). Since there's no search done, you know exactly
>> which pathname you're attempting to execute, and you can easily test
>> whether or not it exists and is executable.
> ---
>
> How does "lib/font/fontname.ttf" indicate an absolute path?
>
> The standard interpretation for that would be a relative
> path from the CWD. Only if a path begins with "/" would a path
> normally be interpreted as absolute.
>
> Are you saying bash behaves differently from nearly every
> other application in this regard?
No. The quoted text talks about when a PATH search is not performed.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: feature request: file_not_found_handle(), (continued)
- Re: feature request: file_not_found_handle(), Chet Ramey, 2013/08/18
- Re: feature request: file_not_found_handle(), Ken Irving, 2013/08/18
- Re: feature request: file_not_found_handle(), Linda Walsh, 2013/08/18
- Re: feature request: file_not_found_handle(), Ken Irving, 2013/08/18
- Re: feature request: file_not_found_handle(), Linda Walsh, 2013/08/19
- Re: feature request: file_not_found_handle(), Greg Wooledge, 2013/08/20
- Message not available
- Re: feature request: file_not_found_handle(), Greg Wooledge, 2013/08/20
- Re: feature request: file_not_found_handle(), Chet Ramey, 2013/08/20
- Re: feature request: file_not_found_handle(), Aharon Robbins, 2013/08/29
- Re: feature request: file_not_found_handle(),
Chet Ramey <=
Re: feature request: file_not_found_handle(), Andreas Gregor Frank, 2013/08/19
- Re: feature request: file_not_found_handle(), Chet Ramey, 2013/08/19
- Re: feature request: file_not_found_handle(), Andreas Gregor Frank, 2013/08/19
- Re: feature request: file_not_found_handle(), Roman Rakus, 2013/08/20
- Re: feature request: file_not_found_handle(), Linda Walsh, 2013/08/20
- Re: feature request: file_not_found_handle(), Chris Down, 2013/08/21
- Re: feature request: file_not_found_handle(), Linda Walsh, 2013/08/21
Re: feature request: file_not_found_handle(), Ken Irving, 2013/08/21
Re: feature request: file_not_found_handle(), Greg Wooledge, 2013/08/21
Re: feature request: file_not_found_handle(), Andreas Gregor Frank, 2013/08/21