Re: A file named "["?

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

 



On 2012/06/05 13:17, Michael Schwendt wrote:
On Tue, 05 Jun 2012 12:35:34 -0700, jdow wrote:

On 2012/06/05 11:55, Michael Schwendt wrote:
On Tue, 5 Jun 2012 14:40:23 -0400, Alex wrote:

It's used in shell scripts, such as an "if" statement, such as "if [
$? -eq 0 ]". Bash actually runs that command.

Not Bash.

$ type [
[ is a shell builtin

Also see "man [".


$ type /usr/bin/[
/usr/bin/[ is /usr/bin/[

Of course. What are you trying to prove?

Bash doesn't run that command. "man test" explains it, too:

The file is still essential. Some script files may not work if it is
removed because not all scripts on the system use bash.

{^_^}
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux