This problem with the way /g works is fixed with the 1 while hack
[james@adajio ~]$ cat test.pl #!/usr/bin/perl my $text = "No \x08\x08\x08 good"; 1 while $text =~ s/.\x08//; print "$text\n"; [james@adajio ~]$ ./test.pl good [james@adajio ~]$
In reply to Re^4: Wanted: humanly readable `script` output
by Anonymous Monk
in thread Wanted: humanly readable `script` output
by mrslopenk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |