From 148ac21ae4677eba0e53c333ead11e74e6c8030f Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 5 Nov 2010 21:31:40 +0000 Subject: adding 21 tools --- bin/21commit | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 bin/21commit (limited to 'bin/21commit') diff --git a/bin/21commit b/bin/21commit new file mode 100755 index 000000000..211c0ed18 --- /dev/null +++ b/bin/21commit @@ -0,0 +1,26 @@ +#!/usr/bin/perl + +# usage: 19commit 'log message' filename filename ... + +use Cwd; +use String::ShellQuote; + +my $USER = $ENV{USER}; + +my $dir = getcwd; +( my $prefix = $dir ) =~ s(^/home/$USER/freeside/?)() or die $dir; #eventually from anywhere + +my $desc = shell_quote(shift @ARGV); # -m + +die "no files!" unless @ARGV; + +#warn "$prefix"; + +#print <