> to run "./nameoffile" without quotes to run a file
> i.e ./setup

We've always said, when giving advice, to type "such and such" without the
quotes.. when in fact.. many shells support use of quotations. so,
"./nameoffile" will still work if the user doesn't omit the quotation
marks. Quotes, on shells that support them, means that everything between
them is to be protected from much of the shell's parsing rules, etc. It's
nice when you have files with spaces and you want to do a remove (rm) or a
copy (cp) or whatever on it.. using quotes will force the filename to be
read as one parameter and not multiple.. example:

$ rm file with spaces.txt

has 3 parameters, whereas

$ rm "file with spaces.txt"

has only one :)

So in closing.. it doesn't matter in most cases if quotes are included in
a call... as long as the shell is on the same page as the user :)

I just thought I'd give my thoughts on that ;)

-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to