/srv/irclogs.ubuntu.com/2011/11/22/#ubuntu-us-ca.txt

=== ryaxnb_ is now known as ryaxnb620
nhainespleia2: 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
nhainesAs before, we'll get 5 passes for the booth.03:11
pleia2nhaines: thanks :)03:15
* nhaines 's registration number is 16.03:20
=== ryaxnb_ is now known as ryaxnb620
MarkDudeSevered Fifth show Dec 17th in Alameda, who wants to rock?03:49
iheartubuntugood morning :)11:17
=== izdubar is now known as MarkDude
BotenAnnadoes anyone here know how one might put ascii escape sequences in a read command?18:41
BotenAnnafor example, I'm doing this to make a prompt red to attract attention:18:41
BotenAnnaecho -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:41
BotenAnnabut if you press ctrl+c it's going to not display the ascii reset sequence :X18:42
akkDoes 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:49
Faqtotumecho -e "\033[1;31mPress Ctrl+C NOW if files did not download correctly. Otherwise, press the any key to continue.\033[0m" && read18:51
Faqtotumduh18:51
BotenAnnaFaqtotum: :facepalm:18:52
BotenAnnait's always something simple :D18:52
Faqtotumecho -e "\e[1;31mPress Ctrl+C NOW if files did not download correctly. Otherwise, press the any key to continue.\e[0m" && read18:53
Faqtotumshorter18:53
BotenAnnahttps://plus.google.com/103184405956510785630/posts/ZzztLskr2rV i guess we're having a charm school for nerds on the internet?19:39
nhainesBotenAnna: needs more blink code.20:28
BotenAnnanhaines: maybe for version 2.020:28
BotenAnnafreakin bash scripting it does everything so obnoxiously different than anything im used to :(23:14
BotenAnnahow do you do a simple math operation and assign it to a variable?! WHO KNOWS????23:15
BotenAnna        RNUM = $RANDOM % 523:15
BotenAnnaapparently it wants to murder me in my sleep for trying something obvious like this23:15
pleia2bash is not so good for math23:16
pleia2typically you'd call something like bc23:17
BotenAnnai just need to come up with a random number an assign it to a thing D:23:17
pleia2ah23:17
BotenAnnahttp://pastebin.mozilla.org/1387497 (ノ`m´)ノ ~┻━┻23:22
BotenAnnaso not sure what this wants from me23:23
BotenAnna./test.shell: line 4: [: RNUM: integer expression expected23:23
BotenAnnahow is -ne 5 not an integer expression asdfasdadsfd23:24
* BotenAnna is reminded every time she tries to learn shell scripting why she gave up last time 23:24
* BotenAnna gives up, writes in perl isntead23:32

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!