01:59.45 | *** join/#gllug tch (~mattatron@69-150-119-130.ded.swbell.net) |
07:24.31 | *** join/#gllug mike (~quassel@badger.last.fm) |
08:13.20 | *** join/#gllug resudaed (~tom@62.189.100.228) |
08:45.00 | *** join/#gllug ess_tee_u (~NULL@94-30-86-45.xdsl.murphx.net) |
10:06.07 | ChoHag | Can you treat a string "foo bar baz" as an array of 3? |
10:06.09 | ChoHag | In bash. |
10:27.27 | ess_tee_u | ChoHag: as in |
10:27.35 | ess_tee_u | STRING="foo bar baz" |
10:27.43 | ess_tee_u | ARRAY=$(echo ${STRING} | tr " " "\n") |
10:27.50 | ess_tee_u | then loop in ARRAY |
10:28.22 | ChoHag | But without the intermediate step/ |
10:30.39 | AndyMillar | ChoHag: can't you just do "for i in $STRING; do echo $i ; done" |
10:30.55 | ChoHag | No. I am physiologically incapable of that. |
10:31.25 | ess_tee_u | for k in $STRING; do echo ">[$k]";done |
10:31.34 | ess_tee_u | or somethign |
10:32.16 | ChoHag | I don't actually recall saying anything about loops. |
10:32.53 | AndyMillar | ah, no, you didn't |
10:33.36 | ChoHag | I noticed that SSH_CONNECTION is the string "IP PORT IP PORT". |
10:33.55 | ChoHag | Looping over it makes no sense. Getting the different parts does. |
10:35.12 | ChoHag | Not that I need to, but learning things when you don't need them is what lets you use them when you do. |
10:38.26 | AndyMillar | you can echo $SSH_CONNECTION | while read a b c d; do echo sfuff ; done |
10:38.30 | AndyMillar | but that's horiffic |
11:14.04 | wethrin | ChoHag: http://tsengf.blogspot.co.uk/2011/06/convert-space-separated-string-into.html |
11:14.24 | ChoHag | Bah. |
11:14.29 | wethrin | HTH, etc? |
11:14.41 | ChoHag | How do you turn off the pathetic security 'feature' of blocking non-root from opening ports < 1024? |
11:15.38 | ChoHag | "That remote process is listening on port 139? Well it must be a piece of code of the highest calibre." |
11:17.28 | ChoHag | Woah woah woah. |
11:17.30 | wethrin | You could install Windows ;-) |
11:17.34 | ChoHag | "The short answer is that this is not possible by design."? "In general it is widely accepted practice that this should not be possible."? |
11:17.35 | wethrin | runs |
11:17.41 | ChoHag | People still think this is a useful feature? |
11:17.48 | wethrin | It is a traditional Unixism |
11:18.15 | ChoHag | Yes it is. |
11:18.37 | ChoHag | I'm not going to argue now. Sun's popped out. |
11:18.47 | ChoHag | Suffice it to say, it was useful when there were 10 computers. |
11:20.43 | wethrin | It's raining here |
11:20.58 | wethrin | plus I wasn't looking for an argument. It's too much effort today |
11:21.02 | wethrin | and I just can't be arsed |
12:34.51 | yaMatt | you need to go enter a certain monty python sketch |
13:52.08 | *** join/#gllug dick_turpin (~peter@host217-34-163-30.in-addr.btopenworld.com) |
13:53.25 | dick_turpin | Knees up mu'vor Brown, knees up mu'vor Brown, under the table you must go.... |
13:54.52 | ChoHag | I love this shit. |
13:54.58 | ChoHag | It's so utterly utterly pointless. |
13:55.11 | ChoHag | And hilariously exactly the opposite of the goal of creating the GPL in the first place. |
13:55.23 | ChoHag | "According to Apache, Libreoffice may be able to port from APL->LGPL, but Apache will likely not be able to port from LGPL->APL." |
13:55.33 | ChoHag | Why the FUCK does it matter? |
13:56.08 | dick_turpin | As we said on the podcast Apache is where projects go to die. |
14:00.07 | ChoHag | Except, Ironically, Apache. |
14:00.17 | ChoHag | Although maybe that's just momentum. |
14:04.20 | ChoHag | KDE fans are always amusingly similar. |
14:04.31 | ChoHag | To each other. |
14:04.47 | dick_turpin | Again as yaMatt and I discussed NginX may well overtake Apache in the grand scheme of things. |
14:05.37 | ChoHag | Like OSX used to be I suppose - "There's a [substandard, **even** **less** complete, gaudy] KDE version of that [with a silly name so it can have a K in it somewhere]." |
14:11.44 | yaMatt | I think there is far too much momentum in Apache for Nginx to overtake Apache but it may happen in 2 years or so |
14:11.56 | ChoHag | Holy fuck even the language is suffering from this bullshit. |
14:12.08 | ChoHag | ... of which some non-free stuff has been removed: |
14:12.12 | ChoHag | <PROTECTED> |
14:12.12 | ChoHag | <PROTECTED> |
14:12.20 | ChoHag | *hyphenation patterns* |
14:12.21 | ChoHag | Seriously? |
14:13.20 | yaMatt | I thought you women went to see the doctor for that |
14:13.37 | ChoHag | What women? |
14:13.58 | yaMatt | ah, I'm thinking of hypertension |
14:24.23 | *** join/#gllug mattatron (~mattatron@ripstick.bmc.com) |
14:55.27 | mikejw | hello |
14:56.30 | yaMatt | hello! |
15:35.03 | dick_turpin | Ha! nybill is listening to tdtrs |
15:35.13 | ChoHag | fdisk is a cunt. |
15:35.31 | ChoHag | Command (m for help): c |
15:35.34 | ChoHag | Command (m for help): u |
15:35.37 | ChoHag | Command (m for help): n |
15:35.44 | ChoHag | Command (m for help): t |
15:58.24 | *** part/#gllug resudaed (~tom@62.189.100.228) |
16:30.59 | *** join/#gllug Leeds (~richardc@168.70.79.81) |
21:54.27 | *** join/#gllug w1bble (~Jamie@unaffiliated/w1bble) |