dict: Trivial regex cleanup.

master
Ville Skyttä 2013-08-26 23:18:22 +03:00
parent 50ae579273
commit 705be00502
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
_dictdata()
{
dict $host $port $1 2>/dev/null | sed -ne \
's/^['$'\t '']['$'\t '']*\([^'$'\t '']*\).*$/\1/p'
's/^['$'\t '']\{1,\}\([^ '$'\t'']*\).*$/\1/p'
}
_dict()