--- Log opened Thu Nov 17 00:00:28 2016 |
00:35 | | Derakon[AFK] is now known as Derakon |
00:59 | | catadroid [catalyst@Nightstar-mrmrh7.dab.02.net] has quit [[NS] Quit: Bye] |
01:13 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed] |
02:48 | | macdjord|wurk is now known as macdjord |
03:51 | | Alek [Alek@Nightstar-cltq0r.il.comcast.net] has quit [[NS] Quit: bbl] |
04:10 | <@Azash> | https://twitter.com/dev_console/status/799097696959287296 |
04:12 | | Alek [Alek@Nightstar-cltq0r.il.comcast.net] has joined #code |
04:12 | | mode/#code [+o Alek] by ChanServ |
04:23 | <~Vornicus> | well that's *one* way to skin a cat |
04:32 | | catadroid [catalyst@Nightstar-8qmm32.dab.02.net] has joined #code |
04:33 | | catadroid [catalyst@Nightstar-8qmm32.dab.02.net] has quit [The TLS connection was non-properly terminated.] |
04:33 | | catadroid [catalyst@Nightstar-8qmm32.dab.02.net] has joined #code |
05:09 | | Derakon is now known as Derakon[AFK] |
05:15 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
05:20 | | Vorntastic [Vorn@Nightstar-7nchf2.sub-174-199-6.myvzw.com] has joined #code |
05:30 | | celticminstrel [celticminst@Nightstar-m1asbe.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:39 | | catadroid [catalyst@Nightstar-8qmm32.dab.02.net] has quit [[NS] Quit: Bye] |
06:17 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
06:17 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
06:36 | | himi [sjjf@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
06:48 | | Vorntastic [Vorn@Nightstar-7nchf2.sub-174-199-6.myvzw.com] has quit [[NS] Quit: Bye] |
07:08 | | Kindamoody|afk is now known as Kindamoody |
08:16 | | Kindamoody is now known as Kindamoody|afk |
08:53 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
08:53 | | mode/#code [+o himi] by ChanServ |
10:23 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
11:46 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
11:46 | | mode/#code [+o Emmy] by ChanServ |
12:50 | | Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code |
12:50 | | mode/#code [+o Emmy-werk] by ChanServ |
13:08 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Leaving] |
13:08 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
13:08 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
13:55 | | * Emmy-werk grmbls at MS Access inconsistencies. |
14:23 | | catadroid [catalyst@Nightstar-c4ki1n.dab.02.net] has joined #code |
15:43 | | macdjord is now known as macdjord|wurk |
16:00 | | Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
16:29 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code |
17:29 | | celticminstrel [celticminst@Nightstar-m1asbe.dsl.bell.ca] has joined #code |
17:29 | | mode/#code [+o celticminstrel] by ChanServ |
18:15 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
18:15 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
18:29 | | Vornicus is now known as Vornzor |
18:30 | | gnolam is now known as Kizor_ |
18:30 | | Vash is now known as Kizor2 |
18:33 | | Vornzor is now known as Vornicus |
18:33 | | Kizor2 is now known as Vash |
18:51 | | Kizor_ is now known as gnolam |
18:53 | | catadroid` [catalyst@Nightstar-qt57po.dab.02.net] has joined #code |
18:56 | | catadroid [catalyst@Nightstar-c4ki1n.dab.02.net] has quit [Ping timeout: 121 seconds] |
19:03 | | catadroid` is now known as catadroid |
19:42 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
19:56 | | chatter [NSkiwiirc@Nightstar-7pt.qfk.211.95.IP] has joined #code |
19:56 | < chatter> | allah is doing |
19:56 | < chatter> | sun is not doing allah is doing |
19:56 | < chatter> | moon is not doing allah is doing |
19:56 | < chatter> | stars are not doing allah is doing |
19:56 | < chatter> | planets are not doing allah is doing |
19:56 | < chatter> | galaxies are not doing allah is doing |
19:56 | < chatter> | oceans are not doing allah is doing |
19:56 | < chatter> | mountains are not doing allah is doing |
19:57 | < chatter> | trees are not doing allah is doing |
19:57 | < chatter> | mom is not doing allah is doing |
19:57 | < chatter> | dad is not doing allah is doing |
19:57 | <&[R]> | Go away please |
19:57 | | chatter was kicked from #code by Tamber [] |
19:57 | < Vash> | dammit |
19:57 | <@Tamber> | Hooray religious chatterbots(!) |
19:57 | < Vash> | Vorn was using my nick and trying to kick him out with a special message |
19:58 | <@Tamber> | Oh. Sorry for spoiling it. :( |
19:58 | < Vash> | "Your FACE is doing" |
19:58 | | mode/#code [+ooooo catalyst Vash catadroid ricer Pinkhair] by Tamber |
19:58 | <&[R]> | lol |
19:58 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
19:59 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed] |
20:00 | <@gnolam> | Vash: A "mom is not doing" setup, and you go with "Your FACE is doing?". Interesting choice.~ |
20:00 | <@Tamber> | hee |
20:00 | <@gnolam> | ... ach, Vash&Vorn's connection crapped out |
20:05 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
20:05 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
20:06 | <@Azash> | It gets a lot better if you don't hear the word doing, rather the sound effect of something hitting a spring (*doing*) |
20:07 | <@Azash> | Or someone saying it such |
20:07 | <@Tamber> | After a bit, it does turn into that, in my head. |
20:08 | <@gnolam> | Azash: :D |
20:08 | <@Tamber> | doioioioioioioinnnnnng |
20:12 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
20:22 | <&McMartin> | Argh |
20:22 | <&McMartin> | I have the end-of-level fanfare from Super Mario World stuck in my head |
20:23 | <&McMartin> | That's less "doing" and more "beeyoooowooop" though |
20:32 | <@gnolam> | Azash: I usually hear it as some kind of Richard Cheese-ish lounge song. |
20:32 | <@Azash> | Haha |
20:34 | <@gnolam> | (It helps to get in the rhythm if you snap your fingers twice after each line) |
21:07 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed] |
21:12 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
21:12 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
21:14 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving] |
21:15 | | catadroid [catalyst@Nightstar-qt57po.dab.02.net] has quit [[NS] Quit: Bye] |
22:29 | | Kindamoody|afk is now known as Kindamoody |
22:59 | | simon_ [simon@Nightstar-sjjvb1.dk] has joined #code |
22:59 | | mode/#code [+o simon_] by ChanServ |
22:59 | <@simon_> | if [ "$@" = "hello world" ]; then |
22:59 | <@simon_> | echo "Well, Hello!" |
22:59 | <@simon_> | exit |
22:59 | <@simon_> | fi |
22:59 | <@simon_> | what's wrong with this sh code? |
23:00 | <@simon_> | 7: [: =: unexpected operator |
23:01 | | Kindamoody is now known as Kindamoody[zZz] |
23:02 | <&[R]> | You need -eq instead I think |
23:03 | <&[R]> | Oh nope, = is for strings |
23:04 | <@Azash> | Isn't it == ? |
23:04 | <&[R]> | Not in shell |
23:04 | <@Azash> | Ah |
23:05 | | ^Xires [xires@Nightstar-9jm35g.feedthetrolls.net] has quit [Ping timeout: 121 seconds] |
23:05 | <&[R]> | "help test" (bash) or "man test" to get the documentation |
23:06 | <&[R]> | simon_: I don't think it's liking what's in "$@" |
23:06 | | * [R] gets a different error |
23:06 | <@Azash> | Ohhhh I see |
23:06 | <&[R]> | $ [ "$@" = "Hello World!" ]; echo $? |
23:06 | <&[R]> | bash: [: too many arguments |
23:06 | <&[R]> | 2 |
23:06 | <&[R]> | $ echo "$@" |
23:06 | <&[R]> | horizontal-scroll-mode on |
23:07 | <@Azash> | No wait this was a bash answer |
23:07 | <@Azash> | GROAN |
23:07 | <@simon_> | [R], yes, it seems related to "$@" |
23:07 | <@Azash> | But apparently at least in Bash you'd want to use "$*" because "$@" will expand to a list of values instead of a single string |
23:08 | <@simon_> | ahhh. |
23:08 | <@simon_> | thanks. |
23:08 | <@simon_> | Azash, that works. |
23:08 | <&[R]> | @ Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, each parameter expands to a separate word. That is, "$@" is equivalent to "$1" "$2" |
23:08 | <&[R]> | Ah yeah... |
23:08 | | * [R] doesn't use any of the special variables so... |
23:09 | <&[R]> | Well, except $$ |
23:10 | <&[R]> | And $? |
23:10 | <&ToxicFrog> | How can you never use the positionals? |
23:10 | <&[R]> | I don't write bash scripts |
23:10 | <&[R]> | :p |
23:10 | | ^Xires [xires@Nightstar-9jm35g.feedthetrolls.net] has joined #code |
23:11 | | mode/#code [+o ^Xires] by ChanServ |
23:11 | <&[R]> | Well, I write a few, but I've never really needed to use functions or give them parameters |
23:11 | <&[R]> | I have written* |
23:12 | <@simon_> | ah, so [ "$@" ... ] becomes [ "$1" "$2" ...] which is syntactically invalid? |
23:12 | <&[R]> | Yes |
23:13 | <@simon_> | nice. I learned something about sh today! thanks. :) |
23:13 | <&[R]> | man bash; then /Special Parameters |
23:23 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:23 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:24 | <&ToxicFrog> | simon_: also, if you're ok with targeting bash and not sh, use [[ ]] instead of [ ] |
23:25 | <&ToxicFrog> | If you need Bourne compatbility you're stuck with [/test, though. |
23:38 | <@simon_> | ToxicFrog, I'll go with sh for now. |
23:38 | <@simon_> | [R], thanks a lot. |
23:38 | <&[R]> | Azash helped too |
23:39 | | * [R] wouldn't have looked at the manpage without his comment |
23:44 | <@simon_> | oh, right! |
--- Log closed Fri Nov 18 00:00:44 2016 |