http://bugzilla.novell.com/show_bug.cgi?id=590640
http://bugzilla.novell.com/show_bug.cgi?id=590640#c2
Jon Nelson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|jnelson-suse@jamponi.net |
--- Comment #2 from Jon Nelson 2010-03-24 13:37:11 UTC ---
[jnelson@worklaptop:~] locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
[jnelson@worklaptop:~] bash -x enscript --output=- /etc/hosts > /dev/null
+ declare -i err cnt opt isf
+ declare -a CMDLINE FILES
+ unset
++ LANG=en_US
++ locale charmap
+ ENC=ISO-8859-1
+ test ISO-8859-1 = ISO-8859-1
+ ENC=ISO-8859-15
+ test en_US = en_US
+ ENC=ISO-8859-1
+ case "$@" in
+ case "${ENC%-*}" in
+
LONG=columns:,pages:,file-align:,header:,no-header,truncate-lines,line-numbers::,setpagedevice:,escapes::,highlight::,font:,header-font:,print-anyway,fancy-header::,no-job-header,highlight-bars:,indent:,filter:,borders,page-prefeed,no-page-prefeed,lineprinter,lines-per-page:,mail,media:,copies:,newline:,missing-characters,output:,printer:,quiet,silent,landscape,portrait,baselineskip:,statusdict:,title:,tabsize:,underlay::,nup:,verbose,version,language:,options:,encoding:,no-formfeed,pass-through,color::,continuous-page-numbers,download-font:,extended-return-values,filter-stdin:,footer:,h-column-height:,help,help-highlight,highlight-bar-gray:,list-media,margins:,non-printable-format:,nup-columnwise,nup-xpad:,nup-ypad:,page-label-format:,ps-level:,printer-options:,rotate-even-pages,slice:,style:,swap-even-page-margins,toc,ul-angle:,ul-font:,ul-gray:,ul-position:,ul-style:,word-wrap
+
SHORT='#:,1,2,a:,A:,b:,B,c,C::,d,D:,e::,E::,f:,F:,g,G,h,H:,i:,I:,j,J:,k,K,l,L:,m,M:,o:,O,p:,P:,q,r,R,s:,S:,t:,T:,u::,U:,v,V,w:,W:,X:,z,Z'
+ OIFS='
'
+ IFS='
'
+ CMDLINE=($(getopt -o $SHORT -l $LONG -s bash -q -- "$@" | LC_ALL=POSIX
sed -r '
s|--([a-z-]+)[[:blank:]]?([^-])|--\1=\2|g
s|-([CeEHu])[[:blank:]]?([^-])|-\1\2|g
s|=([[:punct:]]*[[:blank:]]+[[:punct:]]*)|\1|g
s|-X[[:blank:]]*[[:punct:]]UTF-8[[:punct:]]||g
s|[[:punct:]]-[[:punct:]]|-|g
s|--[[:blank:]]|--\n|
s|[[:blank:]]-|\n-|g
'
test ${PIPESTATUS[0]} -eq 0 || exit 1
))
++ LC_ALL=POSIX
++ sed -r '
s|--([a-z-]+)[[:blank:]]?([^-])|--\1=\2|g
s|-([CeEHu])[[:blank:]]?([^-])|-\1\2|g
s|=([[:punct:]]*[[:blank:]]+[[:punct:]]*)|\1|g
s|-X[[:blank:]]*[[:punct:]]UTF-8[[:punct:]]||g
s|[[:punct:]]-[[:punct:]]|-|g
s|--[[:blank:]]|--\n|
s|[[:blank:]]-|\n-|g
'
++ getopt -o
'#:,1,2,a:,A:,b:,B,c,C::,d,D:,e::,E::,f:,F:,g,G,h,H:,i:,I:,j,J:,k,K,l,L:,m,M:,o:,O,p:,P:,q,r,R,s:,S:,t:,T:,u::,U:,v,V,w:,W:,X:,z,Z'
-l
columns:,pages:,file-align:,header:,no-header,truncate-lines,line-numbers::,setpagedevice:,escapes::,highlight::,font:,header-font:,print-anyway,fancy-header::,no-job-header,highlight-bars:,indent:,filter:,borders,page-prefeed,no-page-prefeed,lineprinter,lines-per-page:,mail,media:,copies:,newline:,missing-characters,output:,printer:,quiet,silent,landscape,portrait,baselineskip:,statusdict:,title:,tabsize:,underlay::,nup:,verbose,version,language:,options:,encoding:,no-formfeed,pass-through,color::,continuous-page-numbers,download-font:,extended-return-values,filter-stdin:,footer:,h-column-height:,help,help-highlight,highlight-bar-gray:,list-media,margins:,non-printable-format:,nup-columnwise,nup-xpad:,nup-ypad:,page-label-format:,ps-level:,printer-options:,rotate-even-pages,slice:,style:,swap-even-page-margins,toc,ul-angle:,ul-font:,ul-gray:,ul-position:,ul-style:,word-wrap
-s bash -q -- --output=- /etc/hosts
++ test 0 -eq 0
+ let err=0
+ IFS='
'
+ test 0 -ne 0
+ let isf=0
+ let opt=0
+ (( opt<3 ))
+ arg=--output-
+ test 0 -ne 0
+ test --output- = --
+ let opt++
+ (( opt<3 ))
+ arg=--
+ test 0 -ne 0
+ test -- = --
+ CMDLINE[$opt]=
+ let isf++
+ let opt++
+ (( opt<3 ))
+ arg=''\''/etc/hosts'\'''
+ test 1 -ne 0
+ CMDLINE[$opt]=
+ FILES[$isf]=''\''/etc/hosts'\'''
+ let isf++
+ test ''\''/etc/hosts'\''' = --
+ let opt++
+ (( opt<3 ))
+ test ''\''/etc/hosts'\''' = -
+ eval set -- --output- ''\''/etc/hosts'\'''
++ set -- --output- /etc/hosts
+ case "$@" in
+ test 1 -gt 0
+ exec -a enscript enscript.bin -X ISO-8859-1 '--filter=[[ $(file -b %s
2>/dev/null) =~ '\''UTF-8 Unicode text'\'' ]] && iconv -c -f UTF-8 -t
ISO-8859-1 %s || cat %s' --output- /etc/hosts
enscript: unrecognized option '--output-'
Try `enscript --help' for more information.
[jnelson@worklaptop:~]
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.