Skip to content

Commit

Permalink
flow.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
eexpress committed Aug 3, 2014
1 parent 9c024e0 commit dd2c694
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow.pl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
$QUIT='[shape=egg]'.$end; $EXIT='[shape=house]'.$end;
#http://www.graphviz.org/content/node-shapes

$base=$ARGV[0]; $base=~s/(.+)\.[^.]*/\1/;
$base=$ARGV[0]; $base=~s/.\K\.[^.]*//;
#$base=$ARGV[0]; $base=~s/(.+)\.[^.]*/\1/;
#--------------------------------
if(($#ARGV==-1) || ($ARGV[0]=~/--help|-h/i) || ! -f "$ARGV[0]"){
print <<HELP;
Expand Down

0 comments on commit dd2c694

Please sign in to comment.