Hi,
This question/bug is regarding the 'tr' command. The documentation for tr says:


[CHAR*]         in SET2, copies of CHAR until length of SET1
[CHAR*REPEAT]   REPEAT copies of CHAR, REPEAT octal if starting with 0


Accordingly I tried few things listed below. Please let me know if my usage of the command is wrong.

>cat test
abc;;def
gehu po {} ; l
;;;;
;

>cat test|tr '[;]' '[|*]' abc||def
gehu po {} | l
||||
|

>cat test|tr '[;]' '[|*4]'
abc||def
gehu po {} | l
||||
|

So I find no difference between [CHAR*], [CHAR*REPEAT]

Kindly advise.

Thanks,
Prateek Asthana



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to