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

Re: Problems with ~ and ~~



On Thu, Dec 14, 2000 at 03:20:36PM -0500, Harald Hanche-Olsen wrote:
 
> Oh, you wanted a more detailed answer?  Try this:
> 
> ; a = <={~~ (foo.c foo.x bar.h) *.[ch]}
> ; echo $a
> foo c bar h
> 
> You only assigned a command to a.  The <= in front evaluates the
> command and substitutes the result in the command line.

 I don't understand well <= role. Man page says that it is for return value
 of external command. Doesn't make more sense using `{} or eval in this
 case?...

 Simple curiosity 0:)

 							David