|
This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html Set by lizmat on 8 June 2022. |
|||
|
01:20
MasterDuke joined
02:20
teatwo joined
02:22
teatime left
02:49
teatwo left,
teatwo joined
03:15
tea3po joined
03:18
teatwo left
06:00
lizmat left,
gfldex left,
lucs left,
moritz left,
lucs joined,
moritz joined,
gfldex joined
06:01
lizmat joined
|
|||
| lizmat | librasteve looks like you made www.reddit.com/r/rakulang/comments...lomorphia/ incorrect ? | 11:47 | |
| and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2023/05/29/2023-...t-rolling/ | 13:23 | ||
| Anton Antonov | Can I use raku instead of awk in this shell command ? : ps -aux | grep -i jupyter | awk '{print $1}' | xargs -Iaaa kill -9 aaa | 13:24 | |
| Actually, a raku one-liner for the "whole thing" would be nice took. | 13:25 | ||
| (I don't think "App::Rak" can be used for that...) | |||
| Nemokosch | What does it do? | 13:27 | |
| Anton Antonov | Finds all processes of the current user that have "jupyter" in their associated file names and kills them. | 13:29 | |
| lizmat | rak '{ run "kill", .words.head } | 13:30 | |
| Nemokosch | can pkill not just do this btw | ||
| lizmat | ' | ||
| Anton Antonov ^^ | 13:31 | ||
| rak '{ run "kill", .words[0] }' | |||
| Anton Antonov | @lizmat Great! Trying it out now. | ||
| @lizmat I am getting the error message: "Can't locate PAR.pm in @INC (you may need to install the PAR module) [...]" | 13:37 | ||
| lizmat | que? | ||
| could you gist a full --ll-exception stacktrace somewhere ? | 13:38 | ||
| Anton Antonov | @lizmat Sorry, I just had to do rehash -- it is working now. | 13:39 | |
| lizmat | *phew* :-) | ||
|
14:19
tea3po left,
tea3po joined
14:20
tea3po left,
tea3po joined
14:21
tea3po left
14:22
tea3po joined
|
|||
| librasteve | yep | 16:26 | |
| raku -e "shell <pkill -9 -f 'jupyter'>" | 16:37 | ||
| lizmat | but then why the raku ? | 16:38 | |
| pkill -9 -f 'jupyter' would have worked, no ? | |||
| librasteve | ^^++ true that ... it's nice that rak can do it, but I suppose that the pure pkill is the most sensible | 16:47 | |
| Anton Antonov | Ok, I have never used pkill before. | 17:49 | |
|
20:02
rcy joined
|
|||