At 17:49 -0700 5/7/10, Warren Michelsen wrote:

Is this a Perl script? Should it start with:
#!/usr/bin/perl

Yes; and no, it makes no difference if it is run as a UNIX filter in BBEdit.

JD




while (<>) {
  chomp;
  push @_, $_
}
for (reverse @_){
  next if /^$/; # ignore blank lines
  print "$_\n";
};

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.

Reply via email to