From 515d421beae0668562a6005140b3461fdc2850fa Mon Sep 17 00:00:00 2001 From: dvs1 Date: Mon, 28 Oct 2024 13:38:02 +1000 Subject: Hello -> G'day, coz I'm an Aussie, and it helps test embedded quote marks. --- test_.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test_.lua') diff --git a/test_.lua b/test_.lua index 80e1786..1a892a9 100755 --- a/test_.lua +++ b/test_.lua @@ -96,7 +96,7 @@ print(__[[#!/bin/NoSuchCommand print('') __[[#!/bin/bash - echo "Hello world from bash." + echo "G'day world from bash." ]]:log():show():Do() print('') @@ -105,19 +105,19 @@ print(__[[#!/usr/bin/tcc -run int main() { - printf("Hello world from C.\n"); - return 0; + printf("G'day world from C.\n"); + return 1; } ]]:log():show():Do().status) print('') __[[#!/usr/bin/env luajit - print('Hello ' .. "world " .. [=[from]=] .. ' Lua.') + print("G'day " .. "world " .. [=[from]=] .. ' Lua.') ]]:log():show():Do() print('') __[[#!/usr/bin/perl - print "Hello world from perl.\n"; + print "G'day world from perl.\n"; ]]:log():show():Do() print('') @@ -129,12 +129,12 @@ print('') -- Note no indent for Python, coz whitespace is significant. __[[#!/usr/bin/env python3 -print("Hello world from python.") +print("G'day world from python.") ]]:log():show():Do() print('') __[[#!/usr/bin/ruby - puts "Hello world from ruby." + puts "G'day world from ruby." ]]:log():show():Do() print('') -- cgit v1.1