[asterisk-commits] tilghman: branch 1.6.0 r114116 - in /branches/1.6.0: ./ contrib/scripts/astcli

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 14 11:33:59 CDT 2008


Author: tilghman
Date: Mon Apr 14 11:33:59 2008
New Revision: 114116

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114116
Log:
Merged revisions 114115 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r114115 | tilghman | 2008-04-14 11:32:59 -0500 (Mon, 14 Apr 2008) | 2 lines

Make tab-completion work for all cases

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/contrib/scripts/astcli

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/contrib/scripts/astcli
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/contrib/scripts/astcli?view=diff&rev=114116&r1=114115&r2=114116
==============================================================================
--- branches/1.6.0/contrib/scripts/astcli (original)
+++ branches/1.6.0/contrib/scripts/astcli Mon Apr 14 11:33:59 2008
@@ -152,10 +152,10 @@
 	if ($word eq '') {
 		$buffer =~ m/(\S+)\s?$/;
 		$lastword = $1;
-		print STDERR "\n\nlastword=\"$lastword\"\n";
+		#print STDERR "\n\nlastword=\"$lastword\"\n";
 	}
 
-	my $res = send_command("_command matchesarray \"$buffer\" \"$word\"\n");
+	my $res = send_command("_command matchesarray \"$buffer\" \"$word\"");
 	foreach my $item (split /\s+/, $res) {
 		$items{$item}++ unless ($item eq '_EOF_' or $item eq '' or $item eq $lastword);
 	}




More information about the asterisk-commits mailing list