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: Werner LEMBERG
Subject: Re: [Groff] gtroff & soelim don't recognize ~ in paths
Date: Sun, 09 Apr 2006 09:54:33 +0200 (CEST)

> Sourcing a file like this:
> 
>       .so ~/Library/XSL/html2ms.xsl
> 
> Using either straight groff or soelim, I get the message:
> ./single.ms:207: can't open `~/Library/XSL/html2ms.xsl': No such file  
> or directory
> 
> It works with an explicit path. Is this a bug or a feature?

A feature, of course!  Why on earth do you expect tilde expansion
within groff?  Do this instead:

  .so \V[HOME]/Library/XSL/html2ms.xsl


     Werner




reply via email to

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