non-tar file assumed to be tar

"Marko Loparic" <[email protected]> Wed, 14 Mar 2007 17:54:47 +0100
Newsgroups gmane.comp.printing.a2ps.bugs
Message-ID <[email protected]>
Hi,

a2ps does not print a text file called mod_target_file.gms:

$ a2ps -o test.ps mod_target_price.gms
[mod_target_price.gms (binary): ignored]
[No output produced]

$ a2ps --delegate=no -o test.ps mod_target_price.gms
[mod_target_price.gms (binary): ignored]
[No output produced]

Apparently it is the fact the it has 'tar' substring in its name.
Renaming the file I get the expected behaviour.

$ mv mod_target_price.gms mod_taarget_price.gms
$ a2ps --delegate=no -o test.ps mod_taarget_price.gms
[mod_taarget_price.gms (plain): 7 pages on 4 sheets]
[Total: 7 pages on 4 sheets] saved into the file `test.ps'
[39 lines wrapped]

$ a2ps --version
GNU a2ps 4.13
Written by Akim Demaille, Miguel Santana.

Copyright (c) 1988-1993 Miguel Santana
Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Best wishes and thanks a lot for this excellent program!

Marko