Thread: VI question
View Single Post

   
  #18 (permalink)  
Old 02-19-2008, 03:50 PM
+Alan Hicks+
 
Posts: n/a
Default Re: VI question

NOTE: This message was sent thru a mail2news gateway.
No effort was made to verify the identity of the sender.
--------------------------------------------------------

pgp trash troll delete

Hicks, Alan
188 Shady Dale Dr
Lizella, GA 31052
478-935-8132

+Alan Hicks+ <alan@lizella.network> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> In alt.os.linux.slackware, Blumf dared to utter,
>> Also, just noticed this myself, apparently the backquotes are to be phased
>> out in favor of $() so 'ls -l $(which vi)' is the hip new way to do things.

>
> Not just the new hip way, the new better way. $() can be layered,
> whereas backticks cannot. For example:
>
> $(which ls $(which cupsd)) # will work
> `which ls `which cupsd`` # will not
>
> Ouput is something like:
>
> /bin/ls /usr/sbin/cupsd
> /bin/ls which cupsd
>
> - --
> It is better to hear the rebuke of the wise,
> Than for a man to hear the song of fools.
> Ecclesiastes 7:5
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQFBVBj6lKR45I6cfKARAvdHAKCmjxW2I+prCOmLnWPYRU 41+nNNngCcDdfO
> KNLH1/96zEFXuLupEn26zyM=
> =DXnD
> -----END PGP SIGNATURE-----


















Reply With Quote