*** grinsekatze has quit IRC | 00:08 | |
*** grinsekatze has joined #maemo | 00:09 | |
*** cyteen_ has quit IRC | 00:12 | |
*** cyteen has joined #maemo | 00:17 | |
*** xy2_ has quit IRC | 00:48 | |
*** NeKit has joined #maemo | 01:05 | |
*** drcode has quit IRC | 01:06 | |
*** NeKit has quit IRC | 01:09 | |
*** Vajb has joined #maemo | 01:13 | |
*** Elite-Epochs has joined #maemo | 01:51 | |
*** Pali has quit IRC | 01:51 | |
*** trumee has quit IRC | 01:54 | |
*** trumee has joined #maemo | 02:09 | |
*** trumee has quit IRC | 02:10 | |
*** trumee has joined #maemo | 02:15 | |
*** trumee has quit IRC | 02:20 | |
*** florian has quit IRC | 02:23 | |
*** Kabouik_ has quit IRC | 02:38 | |
*** trumee has joined #maemo | 02:40 | |
*** trumee has quit IRC | 02:47 | |
*** pkill9 has quit IRC | 02:58 | |
*** troulouliou_div2 has joined #maemo | 03:01 | |
*** trumee has joined #maemo | 03:09 | |
*** infobot has quit IRC | 03:17 | |
*** infobot has joined #maemo | 03:18 | |
*** trumee has quit IRC | 03:19 | |
*** troulouliou_div2 has quit IRC | 03:23 | |
*** trumee has joined #maemo | 03:38 | |
*** cyteen has quit IRC | 03:55 | |
*** cyteen has joined #maemo | 03:56 | |
*** xes has quit IRC | 04:39 | |
*** sunshavi has quit IRC | 04:40 | |
*** sunshavi has joined #maemo | 04:40 | |
*** jon_y has quit IRC | 06:01 | |
*** jon_y has joined #maemo | 06:03 | |
*** Wikiwide has joined #maemo | 06:04 | |
Wikiwide | I don't understand backtick quotes. What do they do in ash script? Makes parsing wget output quite difficult. | 07:18 |
---|---|---|
Wikiwide | 15:29:50 (20.69 KB/s) - `filepath' saved [43121] | 07:34 |
Wikiwide | For example, test="$(echo "15:29:50 (20.69 KB/s) - `filepath' saved [43121]")" line doesn't work - Terminal switches to > mode | 07:59 |
*** trumee has quit IRC | 08:43 | |
brolin_empey | 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”. | 08:56 |
*** trumee has joined #maemo | 09:00 | |
brolin_empey | In your example/use case, it appears that the shell is expecting the ` to be used for command substitution? | 09:01 |
brolin_empey | I guess a possible workaround is to use tr(1) to replace the ` with ' . | 09:02 |
brolin_empey | Or maybe the program that uses ` in its output can somehow be told at runtime to use a different quoting style? | 09:03 |
Wikiwide | 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. | 09:07 |
brolin_empey | Vajb: You may say “difficult” instead of “hard”. | 09:10 |
brolin_empey | CatButts: ISP is also In-System Programming. | 09:12 |
CatButts | Indiscreet Sibling Purr | 09:13 |
CatButts | 'be more specific', he says | 09:16 |
CatButts | :p | 09:16 |
*** Wikiwide has left #maemo | 09:16 | |
*** Wikiwide has joined #maemo | 09:17 | |
brolin_empey | CatButts: KCalc can be used to convert between binary, octal, decimal, and hexadecimal. | 09:25 |
*** Wikiwide has quit IRC | 09:29 | |
brolin_empey | 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. | 09:36 |
CatButts | Dec 29 10:17:49 <freemangordon> why don't you just use wpa_passphrase? | 09:58 |
CatButts | in place of wpa_cli? | 09:58 |
CatButts | oh yeah, it outputs to stdout | 10:05 |
CatButts | I'd have to pipe it to a file | 10:06 |
CatButts | butt you see... | 10:06 |
CatButts | I can't find my angled brackets :P | 10:06 |
CatButts | so wpa_cli it is! | 10:06 |
*** xy2_ has joined #maemo | 10:46 | |
*** xy2_ has quit IRC | 11:22 | |
*** xy2_ has joined #maemo | 11:24 | |
Vajb | brolin_empey: true that! | 11:32 |
CatButts | dificult are the times | 11:41 |
CatButts | hard is the surface to smack head against when times are dificult | 11:41 |
CatButts | :P | 11:41 |
CatButts | dd if=/dev/mmcblk1 of=./mybackup.img | 11:53 |
CatButts | this is taking unusually long | 11:53 |
CatButts | am I doing something naughty? | 11:54 |
CatButts | taking moreso, than say.... | 11:54 |
CatButts | dd if=./mybackup.img of=/dev/mmcblk1 | 11:54 |
CatButts | 2gb SD card | 11:55 |
CatButts | eh, with a bit of luck, it's not filling up all of 32gb MyDocs :P | 11:57 |
CatButts | (ext2 formated) | 11:57 |
CatButts | hmmmm, ext2.... | 11:57 |
CatButts | so that's why it's taking long | 11:58 |
CatButts | I once made the mistake of using ext3 as backup drive for very large files(tens of GB) | 11:59 |
CatButts | writing to it would be stupendously slow | 11:59 |
CatButts | then I nuked the fucker and made it ext4 | 11:59 |
CatButts | problem solved | 11:59 |
*** Pali has joined #maemo | 12:01 | |
*** Wikiwide has joined #maemo | 12:01 | |
KotCzarny | wikiwide: i would advise you to learn about shell scripting exploits | 12:02 |
Wikiwide | Thank you :-) | 12:02 |
Wikiwide | I am just absolutely tired. Exhausted. | 12:03 |
KotCzarny | and the fact that you have troubles with parsing output suggest it might be insecure | 12:03 |
KotCzarny | as for backtics it's treated in bash as `run this command in new subshell` | 12:03 |
Wikiwide | Insecure, as in, random things injected into script? | 12:04 |
KotCzarny | and '> ' means it was waiting for closing backtick | 12:04 |
KotCzarny | yes | 12:04 |
KotCzarny | and executed on your system | 12:04 |
KotCzarny | whole shell scripting is tricky | 12:05 |
Wikiwide | 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. | 12:05 |
KotCzarny | but you plan on making it into some package in repos for others? | 12:06 |
Wikiwide | Try wget https://www.duckduckgo.com , and see what wget says. | 12:06 |
Wikiwide | Not package yet. Just a script, for starters. | 12:06 |
* CatButts starts to regret making MyDocs into ext2 | 12:07 | |
KotCzarny | because while your private script would just fail, used by others might be treated as attack target | 12:07 |
Wikiwide | 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. | 12:07 |
Wikiwide | And, its binary doesn't exit upon having done its task; it just gets stuck in waiting for a Ctrl-C or some killall. | 12:08 |
KotCzarny | add & ? | 12:09 |
Wikiwide | But overall, it works as intended, opening /any/file with proper mime handler. | 12:09 |
Wikiwide | It gets stuck in background. Neat but not sufficient. There is no reason for it to not exit. | 12:11 |
KotCzarny | maybe it waits for browser close | 12:14 |
KotCzarny | or needs to call destination app with '&' | 12:14 |
*** NeKit has joined #maemo | 12:28 | |
*** pkill9 has joined #maemo | 12:41 | |
*** msava has joined #maemo | 12:45 | |
*** drcode has joined #maemo | 12:49 | |
*** xy2_ has quit IRC | 12:50 | |
*** drcode has quit IRC | 12:50 | |
*** xy2_ has joined #maemo | 12:50 | |
*** drcode has joined #maemo | 12:52 | |
Wikiwide | 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 | 13:04 |
*** drcode has quit IRC | 13:19 | |
*** drcode has joined #maemo | 13:25 | |
*** LauRoman has joined #maemo | 13:28 | |
*** jonwil has joined #maemo | 13:31 | |
jonwil | hi | 13:32 |
CatButts | uhllo | 13:32 |
Wikiwide | hello | 13:33 |
*** pkill9 has quit IRC | 13:34 | |
*** pkill9 has joined #maemo | 13:51 | |
sicelo | what's hildon-mime-summon? | 13:51 |
Wikiwide | A commandline application launcher for mimetype | 13:56 |
*** Wikiwide has quit IRC | 14:01 | |
*** NeKit has quit IRC | 14:44 | |
*** NeKit has joined #maemo | 14:57 | |
*** jonwil has quit IRC | 14:59 | |
*** NeKit has quit IRC | 15:09 | |
*** mp107 has joined #maemo | 15:30 | |
*** NeKit has joined #maemo | 15:30 | |
*** spiiroin has joined #maemo | 16:47 | |
*** Kabouik_ has joined #maemo | 16:50 | |
*** NeKit has quit IRC | 17:16 | |
*** herekun has quit IRC | 17:22 | |
*** herekun has joined #maemo | 17:25 | |
*** xes has joined #maemo | 17:38 | |
*** mp107[m] has joined #maemo | 17:50 | |
*** mp107[m] has quit IRC | 18:07 | |
*** troulouliou_div2 has joined #maemo | 18:31 | |
*** mp107 has quit IRC | 18:42 | |
*** Smily has joined #maemo | 18:43 | |
* CatButts is still waiting for dd | 18:55 | |
*** msava has quit IRC | 19:01 | |
*** cyteen has quit IRC | 19:07 | |
*** cyteen has joined #maemo | 19:09 | |
*** troulouliou_div2 has quit IRC | 19:09 | |
*** CatButts is now known as COIOS | 19:32 | |
*** mquin is now known as ISO3103 | 19:35 | |
*** COIOS is now known as CatButts | 19:41 | |
*** herekun has quit IRC | 19:41 | |
*** cyteen has quit IRC | 19:42 | |
*** cyteen has joined #maemo | 19:43 | |
*** bl33d15 has left #maemo | 19:50 | |
*** herekun has joined #maemo | 19:55 | |
*** NeKit has joined #maemo | 19:55 | |
*** xy2_ has quit IRC | 20:16 | |
*** spiiroin has quit IRC | 20:18 | |
*** xy2_ has joined #maemo | 20:22 | |
brolin_empey | CatButts: Have you tried using bs=n to use a larger block size, such as bs=64M ? | 20:30 |
CatButts | hmmm, have not | 20:30 |
CatButts | just if and of params | 20:30 |
CatButts | I canceled dd | 20:32 |
*** spiiroin has joined #maemo | 20:32 | |
CatButts | did | 20:33 |
CatButts | killall -USR1 dd | 20:33 |
CatButts | from separate shell | 20:33 |
CatButts | 108kb/s | 20:33 |
CatButts | was copying 4gb | 20:33 |
CatButts | size of sd card | 20:34 |
DocScrutinizer51 | mquin / ISO3103 : preparation of liquor for use in sensory tests? | 20:34 |
CatButts | what flavour? | 20:34 |
CatButts | *hic* | 20:34 |
CatButts | I like mint | 20:35 |
* DocScrutinizer51 gets another Sol y Sombra | 20:35 | |
KotCzarny | fonseca ruby porto | 20:35 |
KotCzarny | not bad stuff | 20:36 |
DocScrutinizer51 | fonseca??? | 20:36 |
CatButts | hmm, anise | 20:36 |
DocScrutinizer51 | wasnt that the bad guys of Panama papers? | 20:36 |
KotCzarny | nope, family in portugal | 20:36 |
KotCzarny | https://en.wikipedia.org/wiki/Fonseca_(port) | 20:39 |
DocScrutinizer51 | mossack_fonseca | 20:39 |
DocScrutinizer51 | ignore me, Im not even really online | 20:45 |
*** xy2_ has quit IRC | 20:53 | |
*** NeKit has quit IRC | 20:54 | |
*** xy2_ has joined #maemo | 21:02 | |
*** NeKit has joined #maemo | 21:06 | |
DocScrutinizer51 | mossack_fonseca - cause tax paying is for the poor and stupid | 21:31 |
DocScrutinizer51 | my pub bartender has a yshirt with exactly this text ;-P | 21:32 |
DocScrutinizer51 | tshirt even | 21:33 |
*** TheKit has joined #maemo | 21:38 | |
*** NotKit has joined #maemo | 21:40 | |
*** NeKit has quit IRC | 21:41 | |
*** TheKit has quit IRC | 21:43 | |
*** Pali has quit IRC | 22:16 | |
*** TheKit has joined #maemo | 22:18 | |
*** NotKit has quit IRC | 22:22 | |
*** auenf has quit IRC | 22:27 | |
*** TheKit has quit IRC | 22:37 | |
*** florian has joined #maemo | 22:54 | |
*** troulouliou_div2 has joined #maemo | 23:06 | |
*** Vajb has quit IRC | 23:22 | |
*** troulouliou_div2 has quit IRC | 23:33 | |
*** dreamer has quit IRC | 23:38 | |
*** dingen has joined #maemo | 23:42 | |
*** dingen is now known as dreamer | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!