From 4edd85aa8156150f1fa7a3026a922b49366b642d Mon Sep 17 00:00:00 2001 From: dvs1 Date: Mon, 28 Oct 2024 10:30:16 +1000 Subject: Consistantly use single quotes for Lua strings, unless otherwise needed. Old habits die hard. lol --- test_.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test_.lua') diff --git a/test_.lua b/test_.lua index 452f4c9..a589a00 100755 --- a/test_.lua +++ b/test_.lua @@ -41,8 +41,8 @@ local options = _.killEmAll{'jmcore', 'qjackctl'} -- Catia is python, and no easy way to kill it. -- Also it keeps jackdbus alive, no matter how hard you kill it. - __"pkill -TERM -u $USER -f catia":Do() - __"sleep 2":Do() + __'pkill -TERM -u $USER -f catia':Do() + __'sleep 2':Do() _.killEmAll{'jackdbus', 'a2jmidid'} ]=] end @@ -51,10 +51,10 @@ local options = options['restart'] = options['start'] options['force-reload'] = options['start'] -print("start = " .. options.start.value) +print('start = ' .. options.start.value) _.parse(arg, options, 'test_') -print("start = " .. options.start.value) -print("stop = " .. options.stop.value) +print('start = ' .. options.start.value) +print('stop = ' .. options.stop.value) @@ -112,7 +112,7 @@ print(__[[#!/usr/bin/tcc -run print('') __[[#!/usr/bin/env luajit - print('Hello ' .. "world " .. [=[from]=] .. " Lua.") + print('Hello ' .. "world " .. [=[from]=] .. ' Lua.') ]]:log():show():Do() print('') -- cgit v1.1