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

Re: Why update Swahili?



On 9/23/09, Tony Nelson <tonynelson georgeanelson com> wrote:
> On 09-09-23 04:15:14, Andras Simon wrote:
>
>> No. Neither are bash commands, but you issue them in a shell (which,
>> in your case, is probably bash). Since the shell sees your command
>> and its arguments first, it can and does manipulate them. One thing
>> it does with them is
>
> attempt to
>
>> expand special characters, such as * and ?; so
>> unless you escape those, yum or rm will never see them, only the
>> result(s) of the expansion
>
> , unless there was no match, in which case bash will pass on the "*",
> making the yum command depend on the contents of the current directory
> (see `man bash` "Pathname Expansion" and the various *glob options)
>
>> . 'rm *' will remove all files in the
>> current directory, but 'rm \*' will only remove the one whose name is
>> '*'. See any intro to unix in general and shells in particular.

Thanks for the correction,

Andras


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