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

Re: a command with a long list of options



The file is ~/.enscriptrc without a dot.. :-) 

Regards!



> On 16 Sep 2015, at 08:49, rlharris@oplink.net wrote:
> 
> On Wed, September 16, 2015 1:26 am, Dr. Volker Thieme wrote:
>> Enscript reads configuration information from the following sources (in
>> this  order):  command  line  options, environment variable ENSCRIPT,
>> user's personal configuration file ($HOME/.enscriptrc), site
>> configuration file (/etc/enscriptsite.cfg) and system's global
>> configuration file (/etc/enscript.cfg).
> ...
>> The personal configuration resides in ~/.enscriptrc and NOT in
>> ~/.enscript.cfg. esncript.cfg is the global config and resides in
>> /etc/enscript.cfg
> 
> Forgive me; it is way past my bedtime, and I did not catch the "...rc".
> 
> But when I changed the name of .enscript.cfg to .enscript.rc and tried to
> print a simple text file "howto.enscript", I get the error:
> 
> $ enscript howto.enscript
> enscript:/home/rlh/.enscriptrc:4: illegal option: --verbose
> bash: --header=$n|A.D. $D{%Y.%m.%d}|$* gmt | Page $% of $=: command not found
> 
> RLH
> 
> 


Reply to: