[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: F11: Bug in sh-4.0 source build-in command



Il giorno lun, 03/08/2009 alle 20.55 +0200, Michal Schmidt ha scritto:
> Not a bug. You're running bash in POSIX mode (probably you ran "sh").
> In POSIX mode the current directory is not searched by the source
> command. This is documented in the manpage.

IMHO, this is a Bug.

"source: usage: source filename [arguments]"

The command "source" take a "file" (-f, 644) and not a "executable" (-x,
755), like do "ls fil", "cat file", "sh file, "awk file", and many other
command.

So, if I run "source file", source must use "file", like do other
command.

-- 
Dario Lesca <d lesca solinos it>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]