01:34:32 -!- ASau [~user@95-25-192-7.broadband.corbina.ru] has quit [Ping timeout: 252 seconds] 01:38:19 hypercube32 [~hypercube@231.125.189.72.cfl.res.rr.com] has joined #sbcl 02:11:23 -!- hypercube32 [~hypercube@231.125.189.72.cfl.res.rr.com] has quit [Quit: Leaving] 06:20:17 flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has joined #sbcl 06:20:17 -!- flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has quit [Changing host] 06:20:17 flip214 [~marek@unaffiliated/flip214] has joined #sbcl 06:26:22 -!- flip214 [~marek@unaffiliated/flip214] has quit [Remote host closed the connection] 06:27:16 flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has joined #sbcl 06:27:16 -!- flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has quit [Changing host] 06:27:16 flip214 [~marek@unaffiliated/flip214] has joined #sbcl 07:50:23 ASau [~user@176.14.33.178] has joined #sbcl 08:26:41 hlavaty [~user@91-65-217-112-dynip.superkabel.de] has joined #sbcl 08:45:10 attila_lendvai [~attila_le@78.185.216.43] has joined #sbcl 08:45:10 -!- attila_lendvai [~attila_le@78.185.216.43] has quit [Changing host] 08:45:10 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 08:52:43 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has left #sbcl 10:29:35 misterncw [~misterncw@82.71.241.25] has joined #sbcl 10:59:10 -!- ASau [~user@176.14.33.178] has quit [Quit: off] 14:08:14 -!- flip214 [~marek@unaffiliated/flip214] has quit [Remote host closed the connection] 14:27:00 homie [~levgue@xdsl-78-35-166-32.netcologne.de] has joined #sbcl 15:19:40 Qworkescence [~quad@71-218-116-244.hlrn.qwest.net] has joined #sbcl 15:19:44 -!- Qworkescence [~quad@71-218-116-244.hlrn.qwest.net] has quit [Changing host] 15:19:44 Qworkescence [~quad@unaffiliated/quadrescence] has joined #sbcl 15:22:18 nikodemus [~nikodemus@cs181056239.pp.htv.fi] has joined #sbcl 15:22:19 -!- ChanServ has set mode +o nikodemus 15:46:54 -!- bleakgadfly [51a6aba8@gateway/web/freenode/ip.81.166.171.168] has quit [Quit: Page closed] 16:07:14 -!- misterncw [~misterncw@82.71.241.25] has quit [Remote host closed the connection] 18:25:24 did sbcl ever add the ability to take command line arguments from a shebang script? 18:26:30 yes, long ago 18:26:38 --script 18:26:58 but after --script, you don't get to add any more arguments on compliant unixes (: 18:27:42 yeah, thats why i was asking. 18:28:12 I'll do something else. 18:30:47 lichtblau [~user@91-65-217-112-dynip.superkabel.de] has joined #sbcl 18:34:13 scymtym [~user@2001:638:504:2093:21a:a0ff:fe34:2d7d] has joined #sbcl 18:37:45 -!- nikodemus [~nikodemus@cs181056239.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 18:41:04 jiacobucci: you can always wrap the lisp file in a tiny little shell script 18:41:52 like this: http://paste.lisp.org/display/123790 18:49:08 joshe: antifuchs confirmed what I had expected from the internet, the extra arguments ($@) are not passed to sb-ext:*posix-argv* on compliant unixes (what I am running). 18:51:13 Not on the shebang line, no. 18:51:22 Hence the shell wrapper 18:54:30 well, i will say that I did not try your script, but on the command line, when i try: 18:54:30 sbcl --script myscript.lisp 2 3 18:54:30 I get errors about loading "2" 18:56:57 hmm, your script works fine though. Thanks, I should have tried it. 18:57:36 I am afraid that I don't understand how that is different that running from a command line myself. 18:57:40 Writing a file which is both a shell script and a lisp source file isn't the most obvious thing to do 18:57:55 It does work though 18:58:49 jiacobucci: what doesn't work is having a shebang line with more than one argument, I'm not sure what, if anything, else wasn't working for you 18:59:45 I don't think it's an issue of compliant or not; the parsing of the #! line is just underspecified; some OSes split args on spaces, some only split the first space. Some support quoting to escape a space, some don't. 19:00:21 Most popular ones these days fall into the first only/don't camp. 19:00:59 I thought that the early unixes only did a single split on the first whitespace, and that behavior made its way into a spec somewhere 19:01:33 You're probably right in that you can't rely on any particular behavior other than a single argument with no whitespace in it 19:03:39 neat trick with the exec though. 19:04:59 Convenient that CL's block-comment char sequence starts with the shell's comment char, otherwise it would likely be even uglier 19:19:45 joshe: convenient for C as well (: 19:20:24 #define RUN_ME_IN_SH /* 19:58:54 -!- homie [~levgue@xdsl-78-35-166-32.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 21:19:15 ASau [~user@176.14.33.178] has joined #sbcl 22:21:18 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 22:41:00 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Read error: Connection reset by peer] 22:42:28 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 23:01:09 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 23:21:04 -!- Qworkescence [~quad@unaffiliated/quadrescence] has quit [Quit: Leaving] 23:29:28 hypercube32 [~hypercube@231.125.189.72.cfl.res.rr.com] has joined #sbcl 23:42:51 hlavaty` [~user@91-65-217-112-dynip.superkabel.de] has joined #sbcl 23:44:07 -!- lisppaste2 [~lisppaste@tiger.common-lisp.net] has quit [Ping timeout: 240 seconds] 23:45:07 -!- hlavaty [~user@91-65-217-112-dynip.superkabel.de] has quit [Ping timeout: 240 seconds]