[Bug 824441] New: enscript fails for file names that include spaces.
https://bugzilla.novell.com/show_bug.cgi?id=824441 https://bugzilla.novell.com/show_bug.cgi?id=824441#c0 Summary: enscript fails for file names that include spaces. Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 1 Platform: i586 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wjones@fluke.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=543704) --> (http://bugzilla.novell.com/attachment.cgi?id=543704) Partial bug fix User-Agent: Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0 File names that include spaces are not handled correctly by enscript. Reproducible: Always Steps to Reproduce: Invoke enscript with a file name that includes white space, e.g.: enscript -o out.ps "a b.txt" Actual Results: cat: a: No such file or directory cat: b.txt: No such file or directory [ 0 pages * 1 copy ] left in out.ps Expected Results: [ 1 pages * 1 copy ] left in out.ps The wrapper script (enscript.sh) includes the comment: # We have real files, maybe with spaces in their path name However, it fails to handle spaces correctly. I'm attaching a patch that fixes this, although file names that include a single quote character will still be mishandled. A fix to cover that case too would be a good deal more complicated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=824441 https://bugzilla.novell.com/show_bug.cgi?id=824441#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=824441 https://bugzilla.novell.com/show_bug.cgi?id=824441#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-06-24 03:51:41 UTC --- Fixed, thansk for the patch ... yoiu may test out submit request #180716 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com