8/26/03 14:57:10, "Craig A. Berry" <[EMAIL PROTECTED]> wrote:

>At 8:39 PM +0200 8/23/03, Michael Lemke wrote:
>>Question:
>>
>>Is this supposed to work:
>>
>>$ perl -e "print glob(""~/*"");"
>>
>>and variations thereof as ~user/*, ~/, ~user ...?
>>
>>As you might guess it doesn't; with perl 5.8.0.
>
>I'm not surprised it doesn't work.  Wether it's "supposed to" or not is open to 
>debate.  

Thanks.  So that is `no' which moves it from the bug list to the wish list.
If this can be done in perl it is fairly simple, e.g. perl -e "@x= getpwnam( 
getpwuid($>) );print $x[7];

Michael



Reply via email to