Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#27 generated filter uses $(ls) instead of $(/bin/ls)

Low Importance
closed-invalid
nobody
Other... (5)
5
2001-01-11
2001-01-06
Anonymous
No

line 160 of /var/spool/lpd/lp/filter is

fpis=$(ls *.fpi 2> /dev/null | tr '\n' ' ' | sed 's/\.fpi//g')

which doesn't work for me because I have

ls() { /bin/ls --color $* }

in my /etc/bashrc so all of my accounts get it. Changing line 160 to use /bin/ls fixes it.

I know that I this was a bad choice on my part, and my long term solution will be to fix my /etc/bashrc. I'm only mentioning it here because someone else may do the same thing in the future. I'd like to save them the effort of having to look for unprintable characters.

Discussion

  • Duncan
    Duncan
    2001-01-11

    • status: open --> closed-invalid
     
  • Duncan
    Duncan
    2001-01-11

    Hmmm.
    This is a (redhat?) rhs-printfilters or printtool issue, not under
    our control.

    If you are using an official redhat printfilters you could post the
    bug report with them. (The older version we supply for
    older redhat/mandrake releases is identical to the official
    ones in this respect)

    Nothing we can do...
    Sorry!