bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set -x and $''


From: Dan Jacobson
Subject: set -x and $''
Date: Tue, 27 Dec 2005 23:18:52 +0800

Interesting, here in big5 land I notice set -x will encode into octal
its output unless the item has certian printing non alphanumerics in
it I suppose. Anyways, there should be a way to tell set -x that one
doesn't want the $'' help, and would just like the raw chars. Also a
way to have set -x print in hex rather than octal.
BASH_VERSION='3.1.0(1)-release'

$ sh -c 'set -x *; : $@' 2>&1|perl -pwe "s/(pdf') /$&\n/g"
+ : 
$'01\246\355\246v\244\247\252\305\266\241\260\317\246\354\277\357\276\334....pdf'
 
$'02\252\305\266\241\302I\253\254\272A\244\300\252R-\273O\245_\245\253....pdf' 
...
$'19\247Q\245\316\245b\272\312\267\376\246\241\276\367\276\271....pdf' 
$'20\275s\251w\244u\267~\260\317\245\316\246a\272\364\273\332....pdf' 
'21應用數值高程模型於山坡地....pdf' 
$'address@hidden' 
...
$'32SuperTour-\246\346\260\312\246\241\256\310\271C\276\311\304\375....pdf' 
$'33\300\263\245\316\246a\262z\270\352\260T\250t\262\316\273\262\247U\260\352\255x....pdf'
 
'34電子地圖操作介面設計.pdf' 
$'35\272\326\272\270\274\257\250F\275\303\254P\244G\270\271\274v\271\263\300\263\245\316....pdf'
 ...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]