FatPhil | maybe I alphabet differently from the rest of the world, but I really don't think the following lines should be in my output: # service --status-all | grep ntp | 12:37 |
---|---|---|
FatPhil | [ ? ] alsa-utils | 12:37 |
FatPhil | [ ? ] fake-hwclock | 12:37 |
FatPhil | ... ??? | 12:37 |
gnarface | i never really use that tool | 12:42 |
gnarface | is there something wrong with the output, or are you objecting to the things it is running? | 12:43 |
drawkula | $ service --status-all |& grep ntp | 12:43 |
drawkula | sh: 1: Syntax error: "&" unexpected | 12:43 |
drawkula | oh... ok... |& is a bashism | 12:43 |
drawkula | and my weechat-makro /:shell uses sh | 12:43 |
FatPhil | the grep is the issue | 12:43 |
gnarface | oh sorry i was not paying attention, |grep ntp | 12:43 |
gnarface | hmmm | 12:44 |
drawkula | no... service writes to stderr | 12:44 |
drawkula | $ service --status-all 2>&1 | grep ntp | 12:44 |
FatPhil | you're reminding me it's time to grab a covfefe | 12:44 |
FatPhil | the grep did limit the output from ~40 lines to ~10 | 12:44 |
drawkula | (yeti@cubietruck1:0)~$ service --status-all |& grep ntp | 12:45 |
drawkula | [ - ] openntpd | 12:45 |
drawkula | for other shells |& needs to be translated | 12:45 |
drawkula | 0xc0ffefe would be hex... | 12:48 |
amarsh04 | is there anything like https://aur.archlinux.org/packages/modprobed-db/ in Debian/Devuan? | 12:52 |
gnarface | it wouldn't be super difficult to do | 12:55 |
gnarface | something like that by hand | 12:55 |
amarsh04 | just a bit of backing up of custom kernel .config files and trial and error | 12:56 |
amarsh04 | if it could be fully automated though, it would be great for a minimalist kernel build | 12:56 |
amarsh04 | I'd be incline to still compile modules that don't depend on specific hardware though | 12:58 |
amarsh04 | inclined | 12:58 |
FatPhil | yeah, the problem is clear when you pipe service through wc -l | 13:20 |
fsmithred | clear to you, maybe. | 13:22 |
fsmithred | wtf? | 13:22 |
fsmithred | 11=60 | 13:22 |
gnarface | the console shows stdout and stderr identically, but | only passes stdout by default | 13:23 |
fsmithred | ah, thanks | 13:24 |
gnarface | np | 13:24 |
fsmithred | HA! 71 | 13:24 |
gnarface | the incantation 2>&1 means send #2 (stderr) to where #1 (stdout) is already going | 13:24 |
gnarface | i forget if stdin is #0 or #3 | 13:25 |
FatPhil | 0 | 13:27 |
gnarface | i guess that makes sense | 13:27 |
drawkula | if all else fails use... | 13:29 |
drawkula | $ ls -l /dev/stdin | 13:29 |
drawkula | lrwxrwxrwx 1 root root 15 Jul 12 13:02 /dev/stdin -> /proc/self/fd/0 | 13:29 |
gnarface | heh, handy | 13:31 |
drawkula | ask-a-*nix™ | 13:41 |
_abc_ | Is anyone here using kradio4 or gradio on debian/devuan? | 16:51 |
James1138 | Sorry. I used to use Radiotray. | 16:56 |
_abc_ | Radiotray can do streams? I like the radio station database found on http://www.radio-browser.info/gui/#!/ | 17:48 |
James1138 | Yes. http://radiotray.sourceforge.net/ | 17:49 |
_abc_ | Is this a package in debian too ? | 17:51 |
_abc_ | Opinion on Clementine? | 17:51 |
James1138 | Debian - sure. https://packages.debian.org/stretch/sound/radiotray | 17:53 |
_abc_ | thanks | 18:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!