mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 22:07:58 +01:00
Updated perl-script to format the ponies names
This commit is contained in:
parent
5889560704
commit
40164221fb
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ $maxw = 1;
|
|||
|
||||
foreach $arg (@ARGV)
|
||||
{
|
||||
# Format names from ponyies names
|
||||
$arg =~ s/([a-z])([A-Z])/\1 \2/;
|
||||
$arg =~ s/_(.*)/\t(\1)/;
|
||||
|
||||
if ($first == 1)
|
||||
{ $first = 0;
|
||||
$scrw = $arg;
|
||||
|
|
Loading…
Reference in a new issue