diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1998-12-08 22:09:05 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1998-12-08 22:09:05 +0000 |
commit | 6faaa698e4f215f0407eb022e2410e6702e8e2bd (patch) | |
tree | ed654c90a991b9438715e0da049eefa3c367ffed /share/examples/printing | |
parent | c56690ef7b53452d0898b757de3ad1362c75f59d (diff) |
Notes
Diffstat (limited to 'share/examples/printing')
-rw-r--r-- | share/examples/printing/ifhp | 2 | ||||
-rw-r--r-- | share/examples/printing/psif | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/share/examples/printing/ifhp b/share/examples/printing/ifhp index 21e6643473e37..373325b0e285a 100644 --- a/share/examples/printing/ifhp +++ b/share/examples/printing/ifhp @@ -26,7 +26,7 @@ else # Plain text or HP/PCL, so just print it directly; print a form # at the end to eject the last page. # - echo $first_line && cat && printf "\f" && exit 2 + echo "$first_line" && cat && printf "\f" && exit 2 fi exit 2 diff --git a/share/examples/printing/psif b/share/examples/printing/psif index 2a657e01aae71..1a816f64888bd 100644 --- a/share/examples/printing/psif +++ b/share/examples/printing/psif @@ -12,12 +12,12 @@ if [ "$first_two_chars" = "%!" ]; then # # PostScript job, print it. # - echo $first_line && cat && printf "\004" && exit 0 + echo "$first_line" && cat && printf "\004" && exit 0 exit 2 else # # Plain text, convert it, then print it. # - ( echo $first_line; cat ) | /usr/local/bin/textps && printf "\004" && exit 0 + ( echo "$first_line"; cat ) | /usr/local/bin/textps && printf "\004" && exit 0 exit 2 fi |