git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1094
959494ce-11ee-0310-bf91-
de5d638817bd
tqual=
if [ $# -eq 0 ]; then
nextep=y
+ if [ -r curser ]; then
+ base="$base $(<curser)"
+ fi
elif [ $# -eq 1 ]; then
if [ -r "$1" ]; then
file="$1"
ep="$1"
tqual="$2"
else
- base="$base $1"
+ if [ "$1" = . -a -r curser ]; then
+ base="$base $(<curser)"
+ else
+ base="$base $1"
+ fi
ep="$2"
fi
else
- base="$base $1"
+ if [ "$1" = . -a -r curser ]; then
+ base="$base $(<curser)"
+ else
+ base="$base $1"
+ fi
ep="$2"
tqual="$3"
fi