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

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

 



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@xxxxxxxxxx>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux