- fix bug where we did not reject invalid classes like '[[:alpha'
- debloat while at it: text data bss dec hex filename 1554 0 19 1573 625 tr.o.oorig 1357 0 16 1373 55d tr.o
This commit is contained in:
@@ -17,8 +17,10 @@ tr_test ()
|
||||
run_tr " " '[:blank:]' 12
|
||||
run_tr 'a b' '[= =]' X
|
||||
run_tr "[:" '[:' ab
|
||||
run_tr " .,:" '[:punct:]' 12
|
||||
run_tr " .,:" '[:cntrl:]' 12
|
||||
}
|
||||
|
||||
bb= tr_test > logfile.gnu
|
||||
bb=busybox tr_test > logfile.bb
|
||||
cmp logfile.gnu logfile.bb
|
||||
diff -u logfile.gnu logfile.bb
|
||||
|
||||
Reference in New Issue
Block a user