author | Sebastian Harl <sh@tokkee.org> | |
Thu, 19 Feb 2009 11:09:46 +0000 (12:09 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 19 Feb 2009 12:51:59 +0000 (13:51 +0100) | ||
commit | 937fc4f2d1721b29b1ad4321ac623bbc9699fd2f | |
tree | f5a4c51c1a67563894ec2070caa01f501d6ed2cc | tree | snapshot |
parent | 2b17fd929a6d6a3146cd57183f96a94c49dfc035 | commit | diff |
contrib/cussh.pl: Fixed and improved command parsing.
The input line is now split into separate tokens which are either quoted or
unquoted strings. This simplifies e.g. the parsing of identifiers as the whole
token may be interpreted as just the id string. This allows for specifying a
somewhat greedy regex which before led to the whole remainder of the input
line ending up in the type or type instance.
The input line is now split into separate tokens which are either quoted or
unquoted strings. This simplifies e.g. the parsing of identifiers as the whole
token may be interpreted as just the id string. This allows for specifying a
somewhat greedy regex which before led to the whole remainder of the input
line ending up in the type or type instance.
contrib/cussh.pl | diff | blob | history |