17 lines
No EOL
227 B
Bash
Executable file
17 lines
No EOL
227 B
Bash
Executable file
#!/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 |