=== ryaxnb_ is now known as ryaxnb620 [03:11] pleia2: Passes for SCALE work the way they have for the past four years. Register but don't pay, and the SCALE Exhibitor Kit will include a coupon code. Whoever's managing that for the team can collect all the registration IDs for the team and use the coupon to register them for free. [03:11] As before, we'll get 5 passes for the booth. [03:15] nhaines: thanks :) [03:20] * nhaines 's registration number is 16. === ryaxnb_ is now known as ryaxnb620 [03:49] Severed Fifth show Dec 17th in Alameda, who wants to rock? [11:17] good morning :) === izdubar is now known as MarkDude [18:41] does anyone here know how one might put ascii escape sequences in a read command? [18:41] for example, I'm doing this to make a prompt red to attract attention: [18:41] echo -e "\033[1;31m" && read -p 'Press Ctrl+C NOW if files did not download correctly. Otherwise, press the any key to continue.' && echo -e "\033[0m" [18:42] but if you press ctrl+c it's going to not display the ascii reset sequence :X [18:49] Does the user's input have to be in red too? I'd just make the prompt in red, and change the color back at the end of that echo before the read. [18:51] echo -e "\033[1;31mPress Ctrl+C NOW if files did not download correctly. Otherwise, press the any key to continue.\033[0m" && read [18:51] duh [18:52] Faqtotum: :facepalm: [18:52] it's always something simple :D [18:53] echo -e "\e[1;31mPress Ctrl+C NOW if files did not download correctly. Otherwise, press the any key to continue.\e[0m" && read [18:53] shorter [19:39] https://plus.google.com/103184405956510785630/posts/ZzztLskr2rV i guess we're having a charm school for nerds on the internet? [20:28] BotenAnna: needs more blink code. [20:28] nhaines: maybe for version 2.0 [23:14] freakin bash scripting it does everything so obnoxiously different than anything im used to :( [23:15] how do you do a simple math operation and assign it to a variable?! WHO KNOWS???? [23:15] RNUM = $RANDOM % 5 [23:15] apparently it wants to murder me in my sleep for trying something obvious like this [23:16] bash is not so good for math [23:17] typically you'd call something like bc [23:17] i just need to come up with a random number an assign it to a thing D: [23:17] ah [23:22] http://pastebin.mozilla.org/1387497 (ノ`m´)ノ ~┻━┻ [23:23] so not sure what this wants from me [23:23] ./test.shell: line 4: [: RNUM: integer expression expected [23:24] how is -ne 5 not an integer expression asdfasdadsfd [23:24] * BotenAnna is reminded every time she tries to learn shell scripting why she gave up last time [23:32] * BotenAnna gives up, writes in perl isntead