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

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

 



There is a bug in sh-4.0 source command:
Must specify directory (./file) for filename, without not work.

> sh-4.0# cd /tmp
> sh-4.0# echo aaa=ppp > sourcefile
> sh-4.0# ls -l sourcefile 
> -rw-r--r-- 1 root root 8  3 ago 20:37 sourcefile
> sh-4.0# cat sourcefile 
> aaa=ppp
> sh-4.0# . sourcefile 
> sh: .: sourcefile: file not found
> sh-4.0# source  sourcefile 
> sh: source: sourcefile: file not found
> sh-4.0# echo $aaa
> 
> sh-4.0# source  ./sourcefile 
> sh-4.0# echo $aaa
> ppp
> sh-4.0# exit

hope this help.

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