groff
[Top][All Lists]
Advanced

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

Re: [Groff] gtroff & soelim don't recognize ~ in paths


From: Greg 'groggy' Lehey
Subject: Re: [Groff] gtroff & soelim don't recognize ~ in paths
Date: Tue, 11 Apr 2006 12:38:26 +0930
User-agent: Mutt/1.4.2.1i

On Tuesday, 11 April 2006 at  0:51:07 +0100, Keith Marshall wrote:
> On Monday 10 April 2006 11:19 pm, Werner LEMBERG wrote:
>>>  > I'm used to it working in vi(m) and I seem to remember it working
>>>  > in awk. I've also seen it work in X11-based file dialogs. Over
>>>  > time, I suppose I've come to assume that ~ was a Un*x idiom rather
>>>  > than a shell idiom.
>>>  
>>>  Agreed; why shouldn't it work in groff?  It should be relatively
>>>  straightforward to implement it (looks the other way).
>>
>> Consider this:
>>
>>   .tr ~X
>>   .so ~/foo/bar
>
> And you might also consider this, in the bash *shell*:
>
>   $ dir='~'
>   $ ls $dir
>   ls: ~: No such file or directory

Arguably that's a bug in bash.

Greg
--
Finger address@hidden for PGP public key.
See complete headers for address and phone numbers.

Attachment: pgpiGpRCbgLkM.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]