**** BEGIN LOGGING AT Sat Dec 30 03:00:01 2017 Dec 30 05:18:09 I don't understand backtick quotes. What do they do in ash script? Makes parsing wget output quite difficult. Dec 30 05:34:18 15:29:50 (20.69 KB/s) - `filepath' saved [43121] Dec 30 05:59:50 For example, test="$(echo "15:29:50 (20.69 KB/s) - `filepath' saved [43121]")" line doesn't work - Terminal switches to > mode Dec 30 06:56:15 Wikiwide: If I recall correctly, what you refer to as backtick quotes are some ASCII approximation anachronism popular with the FSF/rms. I say anachronism because modern practice is to use Unicode separate left and right single or double quotation marks, i.e., ‘single’ and “double”. Dec 30 07:01:36 In your example/use case, it appears that the shell is expecting the ` to be used for command substitution? Dec 30 07:02:33 I guess a possible workaround is to use tr(1) to replace the ` with ' . Dec 30 07:03:50 Or maybe the program that uses ` in its output can somehow be told at runtime to use a different quoting style? Dec 30 07:07:07 I might have worked around this by using grep -o \`.*\' , And then % and # bash string editors to remove suffix and prefix. But it's still a rough ride. Dec 30 07:10:09 Vajb: You may say “difficult” instead of “hard”. Dec 30 07:12:44 CatButts: ISP is also In-System Programming. Dec 30 07:13:24 Indiscreet Sibling Purr Dec 30 07:16:52 'be more specific', he says Dec 30 07:16:54 :p Dec 30 07:25:26 CatButts: KCalc can be used to convert between binary, octal, decimal, and hexadecimal. Dec 30 07:36:47 I wonder if the D-Link DUB-E100 hardware version D1 still uses the same vendor and device identifiers as the hardware version C1. My patch to the Maemo power kernel that I submitted in 2013 was to add support for the hardware version C1 that was current in 2013. Now I have two of the hardware version D1 at work but stopped using the N900 in 2014. When I am back at work, I should check the identifiers used by the hardware version D1. Dec 30 07:58:13 Dec 29 10:17:49 why don't you just use wpa_passphrase? Dec 30 07:58:27 in place of wpa_cli? Dec 30 08:05:59 oh yeah, it outputs to stdout Dec 30 08:06:11 I'd have to pipe it to a file Dec 30 08:06:21 butt you see... Dec 30 08:06:35 I can't find my angled brackets :P Dec 30 08:06:41 so wpa_cli it is! Dec 30 09:32:16 brolin_empey: true that! Dec 30 09:41:31 dificult are the times Dec 30 09:41:50 hard is the surface to smack head against when times are dificult Dec 30 09:41:52 :P Dec 30 09:53:44 dd if=/dev/mmcblk1 of=./mybackup.img Dec 30 09:53:52 this is taking unusually long Dec 30 09:54:05 am I doing something naughty? Dec 30 09:54:25 taking moreso, than say.... Dec 30 09:54:40 dd if=./mybackup.img of=/dev/mmcblk1 Dec 30 09:55:04 2gb SD card Dec 30 09:57:11 eh, with a bit of luck, it's not filling up all of 32gb MyDocs :P Dec 30 09:57:21 (ext2 formated) Dec 30 09:57:35 hmmmm, ext2.... Dec 30 09:58:02 so that's why it's taking long Dec 30 09:59:16 I once made the mistake of using ext3 as backup drive for very large files(tens of GB) Dec 30 09:59:35 writing to it would be stupendously slow Dec 30 09:59:53 then I nuked the fucker and made it ext4 Dec 30 09:59:58 problem solved Dec 30 10:02:28 wikiwide: i would advise you to learn about shell scripting exploits Dec 30 10:02:57 Thank you :-) Dec 30 10:03:22 I am just absolutely tired. Exhausted. Dec 30 10:03:23 and the fact that you have troubles with parsing output suggest it might be insecure Dec 30 10:03:58 as for backtics it's treated in bash as `run this command in new subshell` Dec 30 10:04:36 Insecure, as in, random things injected into script? Dec 30 10:04:37 and '> ' means it was waiting for closing backtick Dec 30 10:04:40 yes Dec 30 10:04:45 and executed on your system Dec 30 10:05:00 whole shell scripting is tricky Dec 30 10:05:50 Well, it's not like website can easily put anything into script. It's just, wget output has stderr and stdout in the same stream, and certificate warning get mixed up with filenames. Dec 30 10:06:16 but you plan on making it into some package in repos for others? Dec 30 10:06:30 Try wget https://www.duckduckgo.com , and see what wget says. Dec 30 10:06:45 Not package yet. Just a script, for starters. Dec 30 10:07:03 * CatButts starts to regret making MyDocs into ext2 Dec 30 10:07:25 because while your private script would just fail, used by others might be treated as attack target Dec 30 10:07:50 hildon-mime-summon is somebody's package in extras-devel which needs some help. Its source package has both source and binary, while its binary has neither. Dec 30 10:08:53 And, its binary doesn't exit upon having done its task; it just gets stuck in waiting for a Ctrl-C or some killall. Dec 30 10:09:13 add & ? Dec 30 10:09:25 But overall, it works as intended, opening /any/file with proper mime handler. Dec 30 10:11:15 It gets stuck in background. Neat but not sufficient. There is no reason for it to not exit. Dec 30 10:14:14 maybe it waits for browser close Dec 30 10:14:34 or needs to call destination app with '&' Dec 30 11:04:31 Hildon-mime-summon being closed and destination app being closed have absolutely no correlation. Feel free to test, binary executable is inside source package http://repository.maemo.org/extras-devel/pool/fremantle/free/source/h/hildon-mime-summon/hildon-mime-summon_1.0-1.tar.gz and source code, too, of course; .C Dec 30 11:32:27 hi Dec 30 11:32:43 uhllo Dec 30 11:33:10 hello Dec 30 11:51:25 what's hildon-mime-summon? Dec 30 11:56:45 A commandline application launcher for mimetype Dec 30 16:55:47 * CatButts is still waiting for dd Dec 30 18:30:29 CatButts: Have you tried using bs=n to use a larger block size, such as bs=64M ? Dec 30 18:30:50 hmmm, have not Dec 30 18:30:59 just if and of params Dec 30 18:32:08 I canceled dd Dec 30 18:33:18 did Dec 30 18:33:19 killall -USR1 dd Dec 30 18:33:26 from separate shell Dec 30 18:33:32 108kb/s Dec 30 18:33:45 was copying 4gb Dec 30 18:34:00 size of sd card Dec 30 18:34:29 mquin / ISO3103 : preparation of liquor for use in sensory tests? Dec 30 18:34:49 what flavour? Dec 30 18:34:51 *hic* Dec 30 18:35:09 I like mint Dec 30 18:35:28 * DocScrutinizer51 gets another Sol y Sombra Dec 30 18:35:45 fonseca ruby porto Dec 30 18:36:00 not bad stuff Dec 30 18:36:02 fonseca??? Dec 30 18:36:19 hmm, anise Dec 30 18:36:36 wasnt that the bad guys of Panama papers? Dec 30 18:36:47 nope, family in portugal Dec 30 18:39:31 https://en.wikipedia.org/wiki/Fonseca_(port) Dec 30 18:39:40 mossack_fonseca Dec 30 18:45:12 ignore me, Im not even really online Dec 30 19:31:46 mossack_fonseca - cause tax paying is for the poor and stupid Dec 30 19:32:59 my pub bartender has a yshirt with exactly this text ;-P Dec 30 19:33:13 tshirt even Dec 30 23:58:10 DocScrutinizer51: "Sol y Sombra" from south America? Dec 30 23:59:01 andaluz Dec 30 23:59:49 no idea about the south american version **** ENDING LOGGING AT Sun Dec 31 03:00:02 2017