IRC log of #maemo for Saturday, 2019-04-20

*** mp107 has quit IRC00:26
*** Pali has quit IRC01:06
*** florian has quit IRC01:43
*** freemangordon has quit IRC01:51
*** freemangordon has joined #maemo01:51
*** Trizt has quit IRC02:03
*** Trizt has joined #maemo02:04
*** Kabouik has joined #maemo02:15
*** Kabouik_ has joined #maemo02:45
*** Kabouik_ has quit IRC02:46
*** Kabouik_ has joined #maemo02:46
*** Oksana has quit IRC02:46
*** Kabouik_ has quit IRC02:49
*** Kabouik_ has joined #maemo02:49
*** Kabouik_ has joined #maemo02:50
*** dafox has quit IRC02:51
*** Kabouik_ has quit IRC03:20
*** Kabouik has quit IRC03:25
*** tm has quit IRC04:11
*** tm has joined #maemo04:15
*** infobot has quit IRC05:25
*** pagurus` has joined #maemo06:47
*** pagurus has quit IRC06:51
*** rhn has joined #maemo08:15
*** Vajb has quit IRC09:16
*** Vajb has joined #maemo09:37
*** Pali has joined #maemo09:49
brolin_empeysicelo: If you only need to replace a literal string in a shell pipeline then you can use tr instead of a substitute commnand in sed.09:50
brolin_empeys/commnand/command/09:51
luke-jrtr doesn't replace strings09:53
luke-jronly characters09:53
*** mva_ has joined #maemo10:20
*** aloril has quit IRC10:20
*** mva has quit IRC10:20
*** aloril has joined #maemo10:21
sixwheeledbeastThe example was a single char as far as I can tell. Also maybe either tr or sed's delete would be more ideal over replace for blank?10:25
*** atk has quit IRC10:30
*** Kilroo has quit IRC10:31
*** Kabouik has joined #maemo10:31
*** Kabouik has joined #maemo10:33
*** Kabouik has quit IRC10:41
sixwheeledbeastI have also fell into replace for blank, where sed '/foo/d;/bar/d' would be more efficient10:41
DocScrutinizer05sth in grep urgently needs optimization:  https://pastebin.com/7y1Kx3W610:59
*** Kabouik has joined #maemo11:02
*** florian has joined #maemo11:11
*** florian has quit IRC11:15
*** Kabouik has quit IRC11:25
*** Kabouik has joined #maemo11:26
*** Kabouik has quit IRC11:27
*** Kabouik has joined #maemo11:27
*** florian has joined #maemo11:48
*** florian has quit IRC12:06
Maxdamantusbut the `d` command discards the current line.12:34
Maxdamantusrather than just removing a character.12:34
MaxdamantusDocScrutinizer05: try LC_ALL=C12:36
*** mp107 has joined #maemo12:39
Maxdamantusalternatively, you could just use sed, which doesn't seem to do the unnecessary unicode processing (which I think is basically wrong anyway)12:40
*** mp107 has quit IRC13:09
*** hurrian_ has joined #maemo13:25
*** hurrian has quit IRC13:28
sixwheeledbeastI suppose so, depends on the situation as yu say13:35
*** mp107 has joined #maemo13:50
*** dafox has joined #maemo13:57
*** florian has joined #maemo14:09
*** rikanee__ has joined #maemo14:53
*** hurrian_ has quit IRC14:56
*** rhn has quit IRC14:58
*** florian has quit IRC15:14
*** mp107 has quit IRC16:24
*** florian has joined #maemo16:49
*** dafox has quit IRC18:08
*** rhn has joined #maemo18:12
*** TheKit has quit IRC18:16
*** Kabouik_ has joined #maemo20:31
*** Kabouik_ has quit IRC20:32
*** Kabouik_ has joined #maemo20:32
*** TheKit has joined #maemo20:43
*** Konsieur has joined #maemo21:28
*** Kabouik_ has quit IRC21:31
*** eMHa has joined #maemo21:45
DocScrutinizer05on topic:   alias man=':(){ [ "sed" == "$1" ]||{ /usr/bin/man $*;return; }; less -f <(/usr/bin/man sed) <(wget http://sed.sourceforge.net/sed1line.txt -q -O -); };:'22:04
DocScrutinizer05mad useful22:04
*** mva_ is now known as mva22:06
DocScrutinizer05sorry, replace $* by "$@"22:09
DocScrutinizer05anyway, don't miss http://sed.sourceforge.net/sed1line.txt22:12
DocScrutinizer05you can bin ca 50% of other tools like tr, head, tail, whatnot.  sed does it all22:13
*** tm has quit IRC22:34
*** Oksana has joined #maemo23:00
*** rhn has quit IRC23:22

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