/usr/bin/ed-tkdesk is in tkdesk 2.0-9.2+b3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/sh
#
# Usage: ed-tkdesk [-wait] [+linenum] [file ...]
# Opens a new editor window, and loads files if any are given.
EDITCMD=dsk_edit_wait
if [ $# -gt 0 ]; then
FILES=
for f in $@; do
if [ "$f" = "-q" ]; then
EDITCMD=dsk_edit
elif [ -z "`echo $f | egrep '^[/~]|^\+[1-90]+$'`" ]; then
FILES="$FILES `pwd`/$f"
else
FILES="$FILES $f"
fi
done
tkdeskclient "cd `pwd`; $EDITCMD `echo $FILES`; cd" >/dev/null
else
tkdeskclient "cd `pwd`; $EDITCMD \"New File\"; cd"
fi
|