File

tools/mod2spec.sh @ 13205:0ccd82b965d5

core.moduleapi: Improve handling of different types in :get_option_period Pass positive numbers trough unharmed, parse strings as periods, discard anything else.
author Kim Alvefur <zash@zash.se>
date Sun, 16 Jul 2023 20:59:27 +0200
parent 13200:150e3bbec1bd
child 13255:df96af198222
line wrap: on
line source

#!/bin/sh
set -eu

echo "spec/${1//./_}_spec.lua"