*** louisdk has quit IRC | 00:12 | |
*** shentey has quit IRC | 00:15 | |
*** segnior_ has joined #maemo | 00:35 | |
*** segnior_ has quit IRC | 00:47 | |
*** louisdk has joined #maemo | 01:00 | |
*** auenf has quit IRC | 01:00 | |
*** auenf has joined #maemo | 01:03 | |
*** troulouliou_div2 has quit IRC | 01:04 | |
*** segnior has joined #maemo | 01:04 | |
*** louisdk has quit IRC | 01:06 | |
*** xes has joined #maemo | 01:21 | |
sixwheeledbeast | er spambot hit the wiki hard, going to take a while to clean up. | 01:27 |
---|---|---|
DocScrutinizer05 | ouch | 01:27 |
DocScrutinizer05 | btw kudos for keeping the wiki tidy all the time | 01:27 |
DocScrutinizer05 | you got rollback permissions, do you? | 01:28 |
DocScrutinizer05 | as opposed to undo which needs a few more clicks iirc | 01:29 |
DocScrutinizer05 | sixwheeledbeast: ^^^ | 01:31 |
sixwheeledbeast | yep all good, been looking after it since migration really | 01:32 |
DocScrutinizer05 | I know, mayn thnaks for that | 01:33 |
sixwheeledbeast | np, its a very useful resource to keep spam free IMO | 01:33 |
*** varu has joined #maemo | 02:12 | |
*** Kabouik_ has joined #maemo | 02:14 | |
*** Kabouik has quit IRC | 02:16 | |
*** peetah has quit IRC | 02:36 | |
*** Pali has quit IRC | 02:45 | |
*** peetah has joined #maemo | 02:50 | |
*** pkill9 has quit IRC | 02:52 | |
*** LauRoman|Alt has joined #maemo | 04:21 | |
*** florian has quit IRC | 04:23 | |
*** LauRoman has quit IRC | 04:24 | |
*** Kabouik- has joined #maemo | 04:35 | |
*** tm has quit IRC | 04:36 | |
*** Kabouik_ has quit IRC | 04:37 | |
*** tm has joined #maemo | 04:39 | |
*** Cor-Ai has quit IRC | 05:17 | |
*** Cor-Ai has joined #maemo | 05:17 | |
*** spiiroin has quit IRC | 06:01 | |
*** Kilroo has quit IRC | 07:14 | |
*** Oxyd76 has quit IRC | 09:25 | |
*** Oxyd76 has joined #maemo | 09:28 | |
*** Oxyd76 has quit IRC | 09:34 | |
*** spiiroin has joined #maemo | 09:46 | |
*** Oxyd76 has joined #maemo | 09:53 | |
*** Oxyd76 has quit IRC | 09:58 | |
*** herekun has joined #maemo | 10:03 | |
Vajb | how would you use grep to search lines which contain \t (tab) more than once? (there can be n number of characters inbetween) | 10:13 |
Vajb | i tried "grep $(echo \t) file.txt" It works but I could not figure out how to add another tab to search with varying number of characters inbetween | 10:14 |
*** Oxyd76 has joined #maemo | 10:15 | |
*** Oxyd76 has quit IRC | 10:23 | |
*** Oxyd76 has joined #maemo | 10:24 | |
*** Oxyd76 has quit IRC | 10:28 | |
*** luke-jr has quit IRC | 10:39 | |
*** luke-jr has joined #maemo | 10:39 | |
Maxdamantus | Vajb: grep '\t.*\t' | 10:48 |
Maxdamantus | Vajb: or for at least `n` tabs, grep '\(\t.*\)\{n\}' | 10:49 |
*** florian has joined #maemo | 11:24 | |
*** bencoh has quit IRC | 11:30 | |
*** bencoh has joined #maemo | 11:30 | |
*** herekun has quit IRC | 11:50 | |
*** florian has quit IRC | 11:50 | |
*** spiiroin has quit IRC | 12:02 | |
*** spiiroin has joined #maemo | 12:15 | |
*** florian has joined #maemo | 12:20 | |
*** NotKit has joined #maemo | 12:20 | |
*** TheKit has quit IRC | 12:24 | |
Vajb | Maxdamantus: thx, but they seem to give me false positives. Or I can not find tabs from the lines it claims to have double. My file should have single tab on everyline, but it seems to have more on some and I am having hard time spotting them. | 12:46 |
*** florian has quit IRC | 12:47 | |
*** louisdk has joined #maemo | 12:50 | |
*** NotKit has quit IRC | 12:51 | |
*** florian has joined #maemo | 12:53 | |
Maxdamantus | Vajb: try: sed '/\t.*\t/ s/\t/(&)/' | 12:55 |
Maxdamantus | eg | 12:55 |
Maxdamantus | er* | 12:55 |
Maxdamantus | Vajb: try: sed '/\t.*\t/ s/\t/(&)/g' | 12:55 |
Maxdamantus | assuming sed = gnused | 12:56 |
Maxdamantus | (since the `\t` syntax is a gnused extension) | 12:56 |
Vajb | I just though that could it be that my scandic characters are messing up grep? | 12:57 |
Vajb | trying sed now | 12:57 |
Maxdamantus | Unlikely to be messing up grep, unless you're using some extremely weird character encoding (UTF-8 and ISO/IEC 8859 encodings should be handled fine) | 12:58 |
Maxdamantus | Might want to do this to also avoid printing unmatched lines: sed '/\t.*\t/{ s/\t/(&)/g; t }' | 12:59 |
Maxdamantus | er, messed that up | 12:59 |
Maxdamantus | sed '/\t.*\t/{ s/\t/(&)/g; t }; d' | 13:00 |
*** Oxyd76 has joined #maemo | 13:00 | |
Vajb | last line says "undetermined {" | 13:01 |
Vajb | and earlier sed command also gave false positives | 13:01 |
*** Oxyd76 has quit IRC | 13:01 | |
Maxdamantus | Hm, maybe busybox's sed sucks. | 13:03 |
Wizzup | or at least the busybox sed from many many years ago | 13:04 |
Maxdamantus | sed -n '/\t.*\t/ s/\t/(&)/gp' | 13:05 |
Maxdamantus | That one seems to work on Maemo's sed. | 13:05 |
*** Oxyd76 has joined #maemo | 13:06 | |
Maxdamantus | Seems the issue with the brace versions is that Maemo's sed interprets '}' as a goto label. | 13:09 |
Maxdamantus | (so needs to be `t;`, not `t`) | 13:09 |
* Maxdamantus is pretty sure the semicolon is unnecessary there. | 13:10 | |
*** Oxyd76 has quit IRC | 13:10 | |
*** Oxyd76 has joined #maemo | 13:11 | |
Vajb | last sed works as I wanted thanks a lot! | 13:16 |
*** shentey has joined #maemo | 13:17 | |
*** Pali has joined #maemo | 13:21 | |
*** Oxyd76 has quit IRC | 13:22 | |
*** Oxyd76 has joined #maemo | 13:27 | |
*** Oxyd76 has quit IRC | 13:28 | |
*** Oxyd76 has joined #maemo | 13:31 | |
*** Oxyd76 has joined #maemo | 13:37 | |
*** troulouliou_div2 has joined #maemo | 13:37 | |
*** ced117 has quit IRC | 13:38 | |
*** ced117 has joined #maemo | 13:40 | |
*** frals has quit IRC | 13:42 | |
*** frals has joined #maemo | 13:46 | |
*** auenf has quit IRC | 14:00 | |
*** auenf has joined #maemo | 14:01 | |
*** Oxyd76 has quit IRC | 14:02 | |
*** auenf has quit IRC | 14:02 | |
*** auenf has joined #maemo | 14:03 | |
*** pkill9 has joined #maemo | 14:05 | |
*** siceleste has joined #maemo | 14:10 | |
*** shentey has quit IRC | 14:14 | |
*** Oxyd76 has joined #maemo | 14:18 | |
*** Oxyd76 has quit IRC | 14:20 | |
*** pkill9 has quit IRC | 14:24 | |
*** pkill9 has joined #maemo | 14:33 | |
*** NeKit has joined #maemo | 14:39 | |
*** siceleste has quit IRC | 14:39 | |
*** spiiroin has quit IRC | 15:03 | |
*** spiiroin has joined #maemo | 15:04 | |
*** xorly has joined #maemo | 15:31 | |
*** ced117 has quit IRC | 15:52 | |
*** ced117 has joined #maemo | 15:54 | |
*** ced117 has quit IRC | 16:32 | |
*** ced117 has joined #maemo | 16:34 | |
*** Oxyd76 has joined #maemo | 16:38 | |
*** Oxyd76 has quit IRC | 16:52 | |
*** Oxyd76 has joined #maemo | 16:53 | |
*** Oxyd76 has joined #maemo | 16:54 | |
*** Oxyd76 has quit IRC | 16:56 | |
*** Oxyd76 has joined #maemo | 16:59 | |
*** Oxyd76 has quit IRC | 17:04 | |
*** Oxyd76 has joined #maemo | 17:04 | |
*** Maxdamantus has quit IRC | 17:06 | |
*** Oxyd76 has quit IRC | 17:12 | |
*** Oxyd76 has joined #maemo | 17:15 | |
*** Oxyd76 has quit IRC | 17:17 | |
*** Maxdamantus has joined #maemo | 17:17 | |
*** xes has quit IRC | 17:19 | |
*** Oxyd76 has joined #maemo | 17:20 | |
*** dafox has joined #maemo | 17:21 | |
*** spiiroin has quit IRC | 17:25 | |
*** Oxyd76 has quit IRC | 17:25 | |
*** spiiroin has joined #maemo | 17:26 | |
*** Oxyd76 has joined #maemo | 17:30 | |
*** Oxyd76 has quit IRC | 17:32 | |
*** Oxyd76 has joined #maemo | 17:36 | |
*** Oxyd76 has quit IRC | 17:44 | |
*** troulouliou_div2 has quit IRC | 18:33 | |
*** shentey has joined #maemo | 18:43 | |
*** Vajb has quit IRC | 18:45 | |
*** xorly has quit IRC | 18:45 | |
*** shentey has quit IRC | 18:47 | |
*** shentey has joined #maemo | 18:49 | |
*** shentey has quit IRC | 19:08 | |
*** pkill9 has quit IRC | 19:16 | |
*** pkill9 has joined #maemo | 19:16 | |
*** ced117 has quit IRC | 19:19 | |
*** ced117 has joined #maemo | 19:20 | |
*** SpeedEvil has quit IRC | 19:44 | |
*** xorly has joined #maemo | 19:44 | |
*** SpeedEvil has joined #maemo | 19:47 | |
*** zGrr has joined #maemo | 19:47 | |
*** APic has quit IRC | 20:02 | |
*** APic has joined #maemo | 20:16 | |
*** Oxyd76 has joined #maemo | 20:32 | |
*** Oxyd76 has joined #maemo | 20:33 | |
*** Oxyd76 has joined #maemo | 20:38 | |
*** LauRoman|Alt has quit IRC | 20:53 | |
*** LauRoman has joined #maemo | 20:54 | |
*** Vajb has joined #maemo | 21:12 | |
*** chfoo-_ is now known as chfoo | 21:41 | |
*** shentey has joined #maemo | 21:49 | |
*** xes has joined #maemo | 22:01 | |
*** xy2_ has joined #maemo | 22:21 | |
*** xes has quit IRC | 22:23 | |
*** xy2_ has quit IRC | 22:42 | |
*** xy2_ has joined #maemo | 22:46 | |
*** shentey has quit IRC | 22:47 | |
*** xes has joined #maemo | 22:54 | |
*** Oxyd76 has joined #maemo | 23:15 | |
*** Oxyd76 has quit IRC | 23:16 | |
*** TheKit has joined #maemo | 23:20 | |
*** geaaru__ has joined #maemo | 23:20 | |
*** geaaru_ has quit IRC | 23:22 | |
*** NeKit has quit IRC | 23:24 | |
*** Oxyd76 has joined #maemo | 23:36 | |
*** Oxyd76 has joined #maemo | 23:36 | |
*** Oxyd76 has joined #maemo | 23:42 | |
*** Oxyd76 has quit IRC | 23:44 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!