acme9k/scripts/Slide-

17 lines
227 B
Text
Raw Permalink Normal View History

2022-04-07 21:52:36 +00:00
#!/bin/sh
tagdata=$(9p read acme/${winid}/tag)
set -- ${tagdata}
path=$1
slide=$(basename ${path})
IFS='
'
for s in *; do
if [ "${s}" != "${slide}" ]; then
newslide=${s}
else
Slide ${newslide}
break;
fi
done