From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <1548508988.474626.1644046040.52A10C14@webmail.messagingengine.com> From: Ethan Gardener To: 9fans@9fans.net MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" In-Reply-To: <1548457862.289354.1643744416.5CA9302E@webmail.messagingengine.com> References: <84052108-743E-449F-914B-9BF20E3DD4A1@gmail.com> <204A4699-0012-41BA-9E23-F272A94E2B10@gmail.com> <1548457862.289354.1643744416.5CA9302E@webmail.messagingengine.com> Date: Sat, 26 Jan 2019 13:23:08 +0000 Subject: [9fans] Scripts in 9pm Topicbox-Message-UUID: f42bc146-ead9-11e9-9d60-3106f5b1d025 Not an important subject, I have other tools, but just in case anyone knows, how do you write scripts for 9pm? On Fri, Jan 25, 2019, at 11:11 PM, Ethan Gardener wrote: > 9pm rc is a bit > broken anyway. There doesn't seem to be a way to make an executable > script I set $path wrong, 9pm uses Windows convention, but fixing it didn't help. % pwd; echo $path C:/Users/aGeek_Second_User/prog/9/rc C:/Users/aGeek_Second_User/prog/9/rc;[snip] % cat lc #!C:/Users/aGeek_Second_User/prog/9/9pm/bin/rcsh.exe ls -Fp $* | mc # verified path correct, shouldn't use a / at start, but it still won't run. % lc lc: file not found % ./lc ./lc: file not found % cp lc lc.rc % lc lc: file not found % lc.rc lc.rc: windows error 193 % ./lc.rc ./lc.rc: windows error 193 % touch foo.exe % ./foo ./foo: windows error 193 193 evidently means invalid executable. File permissions include execution, both ls -l and Windows file properties show that.