2 # ftx <file>: file tree extract
10 if [ -h "$1" ] || [ -a "$1" ]; then
11 echo "File already exists!" 1>&2
19 head -c "$length" >"$1"
20 if [ $type == x ]; then
30 while read -n 1 what && [ $what == '+' ]; do
33 read -d '' -n $length name
43 read -d '' -n $length target
45 ln -s -- "$target" "$1"