Download this file
5 lines (4 with data), 305 Bytes
#!/bin/sh
echo '<x/>' | ./xmlstarlet sel -T -t -i 'true()' -o yes -n --else -o no -n -b -o all -n
echo '<x/>' | ./xmlstarlet sel -T -t -i 'false()' -o yes -n --else -o no -n -b -o all -n
echo '<x/>' | ./xmlstarlet sel -T -t -i 'false()' -o yes -n --elif 'true()' -o maybe -n --else -o no -n -b -o all -n
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.