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-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux