[Bug 232732] build of expect in lang/expect does not install autoexpect script correctly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 29 14:42:12 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232732
--- Comment #18 from w.schwarzenfeld at utanet.at ---
Added error message and --help
#!/usr/local/bin/bash
string=$@
if [ "$string" == "" -o "--help" ]; then
echo "USAGE: expect-scripts command parameters"
echo "example: expect-scripts autoexpect ftp ftp.myserver.org"
exit
fi
command=/usr/local/share/expect/$string
if [ -e /usr/local/share/expect/$1 ]; then
eval "$command"
else
echo "command not found or syntax-error"
fi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-tcltk
mailing list