💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-03-06.txt captured on 2024-05-12 at 16:09:00.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-03-06T01:38:03 #kisslinux <fehawen> night 2020-03-06T03:07:00 #kisslinux <xxx> hi 2020-03-06T03:07:06 #kisslinux <k1ss> hey 2020-03-06T03:07:15 #kisslinux <xxx> whatts up 2020-03-06T04:39:51 #kisslinux <dylanaraps> ioraff: youtube-dl-git is already a package. 2020-03-06T04:40:35 #kisslinux <dylanaraps> adamantium: Can we drop youtube-dl-git in favour of ioraff's package? 2020-03-06T04:43:36 #kisslinux <dylanaraps> > Building a new React app with create-react-app requires 4304 directories and 28678 files. 2020-03-06T04:43:39 #kisslinux <dylanaraps> Good god 2020-03-06T04:45:37 #kisslinux <E5ten> dylanaraps: is there a quick pure sh way to remove all non-spaces from a string? 2020-03-06T04:46:19 #kisslinux <dylanaraps> Yeah 2020-03-06T04:46:41 #kisslinux <E5ten> how do I do it? 2020-03-06T04:47:04 #kisslinux <dylanaraps> Split the string into words using `set -- $var` then 'IFS= echo "$*"' iirc 2020-03-06T04:47:26 #kisslinux <dylanaraps> Use 'set -f; set +f -- $var' to disable globbing and make it safe 2020-03-06T04:47:42 #kisslinux <E5ten> doesn't that remove all spaces? 2020-03-06T04:49:16 #kisslinux <Crestwave> So you want only spaces? 2020-03-06T04:51:07 #kisslinux <dylanaraps> Ah 2020-03-06T04:51:37 #kisslinux <dylanaraps> Split it the same and do 'echo "$*"' without 'IFS=' 2020-03-06T04:52:31 #kisslinux <dylanaraps> https://termbin.com/mdxn 2020-03-06T04:52:37 #kisslinux <Crestwave> wait what did they mean by non-spaces? 2020-03-06T04:52:39 #kisslinux <dylanaraps> This works for me 2020-03-06T04:52:43 #kisslinux <Crestwave> I thought it was literally anything but a space 2020-03-06T04:52:47 #kisslinux <dylanaraps> Stripping tabs, etc 2020-03-06T04:52:57 #kisslinux <dylanaraps> This will also collapse all spaces to singular spaces 2020-03-06T04:53:10 #kisslinux <Crestwave> You could modify IFS to prevent that, no? 2020-03-06T04:53:14 #kisslinux <dylanaraps> If you just want leading/trailing, it's possible too 2020-03-06T04:55:05 #kisslinux <dylanaraps> https://termbin.com/8new 2020-03-06T04:55:21 #kisslinux <dylanaraps> That'll strip only leading/trailing 2020-03-06T04:55:43 #kisslinux <E5ten> I want the exact number of spaces in the string and nothing else, so if it's like ' a b ' (there's 1 space, then a, then 2 spaces, then b, then 1 space), the output would be ' ' (4 spaces) 2020-03-06T04:56:02 #kisslinux <dylanaraps> Oh 2020-03-06T04:56:46 #kisslinux <Crestwave> Set IFS to everything but a space, heh 2020-03-06T04:57:14 #kisslinux <dylanaraps> :P 2020-03-06T04:57:14 #kisslinux <Crestwave> I don't think there's really any quick way to do that 2020-03-06T04:58:10 #kisslinux <dylanaraps> In bash it'd be easy 2020-03-06T04:58:19 #kisslinux <Crestwave> Yep, "${var//[^ ]}" 2020-03-06T04:58:27 #kisslinux <dylanaraps> Yup 2020-03-06T05:06:12 #kisslinux <Crestwave> Or actually, you could strip all the spaces using set and IFS 2020-03-06T05:06:19 #kisslinux <Crestwave> then you could set IFS to the resulting stripped string 2020-03-06T05:06:25 #kisslinux <Crestwave> and run the original string through that 2020-03-06T05:07:35 #kisslinux <dylanaraps> lol 2020-03-06T05:08:05 #kisslinux <Crestwave> yeah, not sure if that counts as quick but ¯_(ツ)_/¯ 2020-03-06T05:09:24 #kisslinux <dylanaraps> https://termbin.com/lyep 2020-03-06T05:09:25 #kisslinux <dylanaraps> Works 2020-03-06T05:09:56 #kisslinux <dylanaraps> Can drop the quotes at IFS="$*" 2020-03-06T05:10:32 #kisslinux <Crestwave> You should initialize IFS to a space if you don't want to strip tabs and such, though 2020-03-06T05:10:39 #kisslinux <dylanaraps> https://termbin.com/92a9 2020-03-06T05:10:42 #kisslinux <dylanaraps> True 2020-03-06T05:11:17 #kisslinux <dylanaraps> https://termbin.com/jsgp 2020-03-06T05:11:26 #kisslinux <dylanaraps> brb 2 secs 2020-03-06T05:11:27 #kisslinux <Crestwave> Shouldn't the first set not have the +f? 2020-03-06T05:12:51 #kisslinux <dylanaraps> Well, you're disabling globbing 2020-03-06T05:13:25 #kisslinux <Crestwave> But you enabled it in the first set and didn't disable it for the second set? 2020-03-06T05:14:17 #kisslinux <Crestwave> So couldn't you just keep it disabled in the first and only enable it on the second? 2020-03-06T05:17:47 #kisslinux <Crestwave> https://github.com/Crestwave/snippets/blob/master/count.sh 2020-03-06T05:20:03 #kisslinux <Crestwave> Although honestly looping over every character would probably be quicker than this 2020-03-06T05:20:09 #kisslinux <dylanaraps> Ah 2020-03-06T05:37:01 #kisslinux <dylanaraps> https://termbin.com/84nw 2020-03-06T05:37:01 #kisslinux <dylanaraps> My net went down 2020-03-06T05:37:01 #kisslinux <dylanaraps> I sent this a while ago :P 2020-03-06T05:56:41 #kisslinux <dylanaraps> Added more docs https://github.com/dylanaraps/birch 2020-03-06T06:04:25 #kisslinux <Crestwave> dylanaraps: The script you sent only seems to count leading spaces, though? 2020-03-06T06:05:58 #kisslinux <dylanaraps> Ah 2020-03-06T06:06:04 #kisslinux <dylanaraps> brb 2020-03-06T06:06:39 #kisslinux <dylanaraps> I'm not fully awake ye 2020-03-06T06:06:43 #kisslinux <dylanaraps> yet* 2020-03-06T06:06:44 #kisslinux <dylanaraps> =P 2020-03-06T06:07:29 #kisslinux <dylanaraps> Birch no longer uses readlink or ln! 2020-03-06T06:08:17 #kisslinux <dylanaraps> crestwave: touch "${ns[@]/%/:}" 2020-03-06T06:08:19 #kisslinux <dylanaraps> Any ideas? 2020-03-06T06:08:32 #kisslinux <dylanaraps> Basically, I need to create a file for each array item. 2020-03-06T06:08:40 #kisslinux <dylanaraps> Appending ':' to the end of each file name. 2020-03-06T06:09:01 #kisslinux <dylanaraps> I could use a loop thougt it may be slow if > 100 files need to be created. 2020-03-06T06:10:18 #kisslinux <dylanaraps> Eh 2020-03-06T06:10:24 #kisslinux <dylanaraps> For loop isn't slow actually 2020-03-06T06:11:10 #kisslinux <dylanaraps> brb 2020-03-06T06:11:56 #kisslinux <Crestwave> Only thing other than a loop I can think of so far is eval. But yeah, a loop probably won't be too slow with builtins 2020-03-06T06:12:23 #kisslinux <dylanaraps> 20ms for 3000 files 2020-03-06T06:12:26 #kisslinux <dylanaraps> Good enough 2020-03-06T06:12:34 #kisslinux <dylanaraps> Next question ;) 2020-03-06T06:12:44 #kisslinux <dylanaraps> I want to drop 'tail' 2020-03-06T06:13:04 #kisslinux <dylanaraps> I could use 'mapfile' and then print the last N elements of the resulting array 2020-03-06T06:13:28 #kisslinux <dylanaraps> Though this reads the entire file and may be slow if the file is large 2020-03-06T06:14:21 #kisslinux <Crestwave> Yeah, reading the entire file would probably be necessary if you want to use builtins 2020-03-06T06:14:40 #kisslinux <adamantium> dylanaraps: dropping youtube-dl-git is fine with me if youtube-dl has a willing maintainer... 2020-03-06T06:14:48 #kisslinux <dylanaraps> It does 2020-03-06T06:15:02 #kisslinux <adamantium> it updates pretty frequent, not sure why one would want to maintain it but knock yourself out 2020-03-06T06:15:06 #kisslinux <adamantium> :D 2020-03-06T06:15:14 #kisslinux <dylanaraps> Ask ioraff: 2020-03-06T06:15:17 #kisslinux <adamantium> :P 2020-03-06T06:15:17 #kisslinux <dylanaraps> I said the same thing 2020-03-06T06:15:52 #kisslinux <dylanaraps> Crestwave: mapfile of an 8000 line file takes 6ms 2020-03-06T06:15:57 #kisslinux <dylanaraps> 0m0.006s 2020-03-06T06:16:14 #kisslinux <Crestwave> seems good enough 2020-03-06T06:16:36 #kisslinux <dylanaraps> 14ms for 22500 lines 2020-03-06T06:16:41 #kisslinux <dylanaraps> That's fine 2020-03-06T06:18:19 #kisslinux <dylanaraps> brb 2020-03-06T06:24:15 #kisslinux <dylanaraps> OK 2020-03-06T06:24:18 #kisslinux <dylanaraps> Dropped tail 2020-03-06T06:24:33 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/commit/9bbe8470519f5773ab23c61add3017035fe8a74d 2020-03-06T06:25:13 #kisslinux <dylanaraps> All that's left is mkdir, rm and fold iirc 2020-03-06T06:26:07 #kisslinux <dylanaraps> Yup 2020-03-06T06:26:10 #kisslinux <dylanaraps> Just those three 2020-03-06T06:29:56 #kisslinux <Crestwave> As an aside, you could probably make a tail with the history functions but I don't know if it would read the whole file as well and mapfile is fast enough for this usecase 2020-03-06T06:30:22 #kisslinux <dylanaraps> That'd be interesting 2020-03-06T06:31:11 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/commit/13a439b3f46bf19ba710fa65ebb86993be9cbfd9 2020-03-06T06:31:19 #kisslinux <dylanaraps> birch now uses builtin mkdir if possible 2020-03-06T06:31:24 #kisslinux <dylanaraps> So we're down to rm/fold now 2020-03-06T06:32:22 #kisslinux <dylanaraps> birch writes to 'TMPDIR', does it really _need_ to clear it on exit? ;) 2020-03-06T06:36:01 #kisslinux <Crestwave> Well, if it's just a single file I guess not really necessary? But maybe just consider it if you can make it 100% pure bash (i.e., when you replace fold) 2020-03-06T06:37:28 #kisslinux <dylanaraps> It's a directory 2020-03-06T06:37:45 #kisslinux <dylanaraps> Which contains a file for each channel and a series of blank files for each nick. 2020-03-06T06:37:58 #kisslinux <dylanaraps> The blank files for each nick make nickname tab completion work ;) 2020-03-06T06:38:49 #kisslinux <Crestwave> You could make a persistent directory for logs and such and throw those in there as well, maybe? 2020-03-06T06:39:15 #kisslinux <dylanaraps> I was thinking that. The issue is then having two or more clients open at once 2020-03-06T06:39:28 #kisslinux <dylanaraps> Unless I do '~/.cache/birch/$/files' 2020-03-06T06:39:37 #kisslinux <dylanaraps> But it wouldn't be persistent then 2020-03-06T06:40:12 #kisslinux <Crestwave> Well, weechat doesn't seem to support multiple clients at once unless you manually specify a directory 2020-03-06T06:40:20 #kisslinux <Crestwave> You could copy that behavior 2020-03-06T06:40:23 #kisslinux <dylanaraps> Nice 2020-03-06T06:40:32 #kisslinux <dylanaraps> Sounds good 2020-03-06T06:42:15 #kisslinux <E5ten> dylanaraps: ok so it's very disgusting so far, but I managed to make a build_OID_registry that seems like it should work with POSIX sh (I see no bashisms in it) but if I run it with bash I get an output file that matches the perl script, but with POSIX sh I get a slightly different file, can you see what in this might be behaving differently between the 2? http://ix.io/2dvU 2020-03-06T06:42:28 #kisslinux <E5ten> (between the two meaning between being run with bash and sh) 2020-03-06T06:43:26 #kisslinux <dylanaraps> > : "$((tmp /= 7))" 2020-03-06T06:43:28 #kisslinux <dylanaraps> Here maybe 2020-03-06T06:43:32 #kisslinux <dylanaraps> Als 2020-03-06T06:43:33 #kisslinux <dylanaraps> Also* 2020-03-06T06:43:34 #kisslinux <dylanaraps> : "$((size += tmp))" 2020-03-06T06:43:41 #kisslinux <dylanaraps> And : "$((total_length += size))" 2020-03-06T06:43:50 #kisslinux <dylanaraps> Try doing these the long way 2020-03-06T06:43:56 #kisslinux <dylanaraps> tmp=$((tmp / 7)) 2020-03-06T06:44:02 #kisslinux <Crestwave> Doesn't that work on shells other than minix/dragonfly? 2020-03-06T06:44:15 #kisslinux <dylanaraps> I'm not sure 2020-03-06T06:44:33 #kisslinux <E5ten> pretty sure those are all POSIX? 2020-03-06T06:44:36 #kisslinux <Crestwave> Also, you actually set IFS to everything but a space heh 2020-03-06T06:44:43 #kisslinux <dylanaraps> Maybe also: "((((c >> (tmp * 7)) & 0x7f) | 0x80))" 2020-03-06T06:44:52 #kisslinux <dylanaraps> 0x and >> may not be POSIX 2020-03-06T06:45:17 #kisslinux <Crestwave> The only one that isn't required by posix is the pre/post incre/decrement I think 2020-03-06T06:45:28 #kisslinux <E5ten> I'm pretty sure the difference is happening in the while [ "$((i += 1))" -lt "$#" ]; do loop because the difference in the file is just the sorting of some lies 2020-03-06T06:45:37 #kisslinux <dylanaraps> I think it's just 0x which isn't supported 2020-03-06T06:45:40 #kisslinux <dylanaraps> Though it works in ash 2020-03-06T06:46:44 #kisslinux <dylanaraps> brb 2 secs 2020-03-06T06:46:58 #kisslinux <E5ten> huh yeah I think it's 0x, I'll have to figure out how to do that in POSIX sh 2020-03-06T06:47:37 #kisslinux <dylanaraps> nice 2020-03-06T06:47:45 #kisslinux <dylanaraps> Fixed birch 2020-03-06T06:49:59 #kisslinux <Crestwave> btw I tested history for tail and it seems that it does go through the whole file, but doesn't keep the entire thing in memory (i.e., it reads it in chunks and discards previous ones) 2020-03-06T06:50:18 #kisslinux <dylanaraps> Nice 2020-03-06T06:50:38 #kisslinux <dylanaraps> It's just 'fold' now fyi 2020-03-06T06:50:42 #kisslinux <dylanaraps> Then we're pure bash 2020-03-06T06:52:19 #kisslinux <dylanaraps> Crestwave: Send the code? ;) 2020-03-06T06:52:34 #kisslinux <Crestwave> for what? history 2020-03-06T06:52:35 #kisslinux <Crestwave> ? 2020-03-06T06:52:37 #kisslinux <dylanaraps> Yeah 2020-03-06T06:53:09 #kisslinux <Crestwave> I just set HISTSIZE, did history -r file, then fc -ln 2020-03-06T06:53:39 #kisslinux <dylanaraps> Oh 2020-03-06T06:53:39 #kisslinux <Crestwave> It seeems that you use history already, though 2020-03-06T06:53:43 #kisslinux <dylanaraps> Yeah 2020-03-06T06:54:01 #kisslinux <dylanaraps> Can just do HISTFILE=bla history 2020-03-06T06:54:17 #kisslinux <Crestwave> That works? 2020-03-06T06:58:24 #kisslinux <dylanaraps> It should 2020-03-06T07:04:46 #kisslinux <dylanaraps> brb 2 secs 2020-03-06T07:10:07 #kisslinux <Crestwave> Doesn't seem to, unless I'm misunderstanding something 2020-03-06T07:10:23 #kisslinux <dylanaraps> Oh well 2020-03-06T07:12:52 #kisslinux <Crestwave> I mean, you could probably write out your current history, do the tail, then read back from the history file if you really want to 2020-03-06T07:13:29 #kisslinux <Crestwave> Also, why am I seeing several rm's? Do those not count for some reason or something? 2020-03-06T07:13:39 #kisslinux <Crestwave> Or did you not push yet? 2020-03-06T07:13:53 #kisslinux <dylanaraps> Oh 2020-03-06T07:13:56 #kisslinux <dylanaraps> You're right 2020-03-06T07:14:06 #kisslinux <dylanaraps> There's 3 rm's I forgot about 2020-03-06T07:14:10 #kisslinux <Crestwave> lol 2020-03-06T07:14:56 #kisslinux <dylanaraps> This may be tricky 2020-03-06T07:16:14 #kisslinux <dylanaraps> Oh well 2020-03-06T07:17:17 #kisslinux <Crestwave> Also, you're not using the loadable sleep 2020-03-06T07:19:42 #kisslinux <dylanaraps> Aha 2020-03-06T07:19:48 #kisslinux <dylanaraps> I am using sleep aren't I? 2020-03-06T07:19:57 #kisslinux <Crestwave> yep 2020-03-06T07:22:35 #kisslinux <dylanaraps> Fixed 2020-03-06T07:22:36 #kisslinux <dylanaraps> brb 2020-03-06T07:26:49 #kisslinux <dylan2> back 2020-03-06T07:55:27 #kisslinux <dylan2> New version of promptless :^) 2020-03-06T07:55:28 #kisslinux <dylan2> https://github.com/dylanaraps/promptless/releases/tag/%F0%9F%A4%AE 2020-03-06T07:55:40 #kisslinux <dylan2> Yes emojis work as git tags 2020-03-06T08:08:15 #kisslinux <dylan2> o/ 2020-03-06T08:08:26 #kisslinux <dylan2> It's garden time 2020-03-06T08:08:31 #kisslinux <dylan2> I'll be on a little later 2020-03-06T09:19:49 #kisslinux <dzove855> dylan2: great job with the builtins in birch 2020-03-06T09:20:00 #kisslinux <dzove855> i didn't think about it before 2020-03-06T09:26:23 #kisslinux <dylan2> hehe 2020-03-06T10:14:12 #kisslinux <dylan2> he he 2020-03-06T10:14:18 #kisslinux <dylan2> I have a working word wrapper in pure bash 2020-03-06T10:14:25 #kisslinux <dylan2> It's fast enough too 2020-03-06T10:16:28 #kisslinux <dylan2> bb 2020-03-06T10:16:29 #kisslinux <dylan2> brb 2020-03-06T10:34:13 #kisslinux <adamantium> kiss l 2020-03-06T10:34:17 #kisslinux <adamantium> oops 2020-03-06T10:46:16 #kisslinux <dylan2> The word wrapper is getting better. 2020-03-06T10:46:22 #kisslinux <dylan2> Apologies for the spam. 2020-03-06T10:50:40 #kisslinux <dzove855> huuu, nice :D 2020-03-06T10:59:49 #kisslinux <crian> hallo. i'm just trying out birch and i must say its awesome. 2020-03-06T11:01:32 #kisslinux <Crestwave> oh you're the guy who commented on the aur package 2020-03-06T11:02:50 #kisslinux <dylan2> crian: Thanks! 2020-03-06T11:03:02 #kisslinux <dylan2> Apologies again for join/quit the spam everyone. 2020-03-06T11:03:32 #kisslinux <crian> yes i am 2020-03-06T11:18:24 #kisslinux <dylan2> dzove855: https://github.com/dylanaraps/birch/pull/16/files 2020-03-06T11:18:40 #kisslinux <dylan2> Still a little buggy 2020-03-06T11:22:32 #kisslinux <crian> quit 2020-03-06T11:26:36 #kisslinux <crian> how can i scroll the output? 2020-03-06T11:29:32 #kisslinux <dzove855> dylan2: seems not that bad. Actually you limited in bytes sot the bash variable substition will not be slow 2020-03-06T11:29:47 #kisslinux <dzove855> and to limit on word splitting is actually not bad neither 2020-03-06T11:29:55 #kisslinux <dylan2> Yup 2020-03-06T11:30:07 #kisslinux <dylan2> crian: There's no scrollback _yet_ 2020-03-06T11:30:15 #kisslinux <dylan2> That'll be fun to handle though not impossible. 2020-03-06T11:31:23 #kisslinux <crian> this would be nice 2020-03-06T11:33:55 #kisslinux <dzove855> huu, didn't have seen that you remplaced tail with mapfile. I was thinking to replace it today ahah 2020-03-06T11:34:16 #kisslinux <dylan2> :P 2020-03-06T11:34:21 #kisslinux <dylan2> brb 2 secs 2020-03-06T11:34:33 #kisslinux <dzove855> i leave for lunch, see ya later 2020-03-06T12:19:46 #kisslinux <jedavies> Anyone had this error when building the latest nodejs? - ninja: invalid pool depth '15.93603515625' 2020-03-06T14:04:09 #kisslinux <E5ten> dylanaraps: haha fuck yeah, it's not pure (uses awk twice and bc once) but I've got a working POSIX sh build_OID_registry 2020-03-06T14:05:42 #kisslinux <E5ten> now it needs a ton of cleanup lol 2020-03-06T14:11:09 #kisslinux <E5ten> http://ix.io/2dxd 2020-03-06T14:32:20 #kisslinux <dylanaraps> E5ten: Nice! 2020-03-06T14:34:22 #kisslinux <dylanaraps> Someone send a message, I need to test birch. ;) 2020-03-06T14:34:22 #kisslinux <dylanaraps> jedavies: I can't reproduce the nodejs issue. 2020-03-06T14:34:22 #kisslinux <dylanaraps> Hm 2020-03-06T14:34:33 #kisslinux <dzove855> test 2020-03-06T14:34:55 #kisslinux <dylanaraps> Send another 2020-03-06T14:34:59 #kisslinux <dzove855> test2 2020-03-06T14:35:02 #kisslinux <dylanaraps> Thanks 2020-03-06T14:35:49 #kisslinux <dylanaraps> brb 2020-03-06T14:37:28 #kisslinux <kiedtl> _o/ 2020-03-06T14:37:31 #kisslinux <dylanaraps> ello 2020-03-06T14:37:42 #kisslinux <dylanaraps> I have a working word wrapper 2020-03-06T14:38:11 #kisslinux <dylanaraps> brb 2 secs 2020-03-06T14:39:02 #kisslinux <dylanaraps> I've swapped to formatting text post-wrap 2020-03-06T14:39:09 #kisslinux <dylanaraps> So it's stored as plain-text 2020-03-06T14:39:24 #kisslinux <dylanaraps> I've also rewritten the wrapper using a different method 2020-03-06T14:39:27 #kisslinux <dylanaraps> It's really neat 2020-03-06T14:50:20 #kisslinux <dylanaraps> o/ 2020-03-06T14:50:25 #kisslinux <dylanaraps> This is nice now 2020-03-06T15:05:41 #kisslinux <adamantium[m]> $(echo lets test birch security) 2020-03-06T15:06:10 #kisslinux <adamantium[m]> `ls` 2020-03-06T15:25:20 #kisslinux <dzove855> adamantium: test with some formatting sequence 2020-03-06T15:25:59 #kisslinux <adamantium[m]> i cant even get birch to work, i am not smart enough 2020-03-06T15:26:10 #kisslinux <adamantium[m]> the connection "times out" for me 2020-03-06T16:27:48 #kisslinux <E5ten> dylanaraps: http://ix.io/2dxR this is the latest version, do you see any opportunities to simplify it (or even just make look it look less shitty)? 2020-03-06T17:04:40 #kisslinux <E5ten> http://ix.io/2dxY newer version 2020-03-06T17:13:54 #kisslinux <E5ten> http://ix.io/2dy4 slightly newer, btw instead of taking a second arg like the first one it just outputs to stdout 2020-03-06T17:14:14 #kisslinux <E5ten> actually now that I think about it I can just remove all the arg handling stuff if I just make it take stdin instead of reading input from a file arg 2020-03-06T17:14:17 #kisslinux <E5ten> gonna do that 2020-03-06T17:17:00 #kisslinux <E5ten> http://ix.io/2dy5 2020-03-06T18:15:10 #kisslinux <E5ten> dylanaraps: ok here's a patch to switch the perl script to the sh one (and the necessary Makefile modification) http://ix.io/2dyn so you can link this in wherever would make sense and kiss will be entirely buildable without perl 2020-03-06T18:16:54 #kisslinux <E5ten> I guess this would be worth submitting upstream but ugh maybe later lol 2020-03-06T19:10:54 #kisslinux <ThursdayNext> dylanaraps: Btw is scrolling up in birch supposed to work or does that depend on the terminal 2020-03-06T19:11:53 #kisslinux <ThursdayNext> adamantium: I've had the same issue but I don't know what fixed it 2020-03-06T19:26:25 #kisslinux <kiedtl> dylanaraps, I've just uupdated yet I'm still seeing some QUIT's being ignore by birch 2020-03-06T19:27:04 #kisslinux <kiedtl> s/uupdated/updated birch/g 2020-03-06T20:03:35 #kisslinux <dylanaraps> o/ 2020-03-06T20:03:45 #kisslinux <dylanaraps> E5ten: Thanks for the script 2020-03-06T20:06:00 #kisslinux <E5ten> I'm happy I thought of putting all the different arrays with corresponding elements at the same indices into "$@" and : delimiting them lol 2020-03-06T20:06:56 #kisslinux <dylanaraps> > if [ "$((i + 1))" -ne "$argc" ] && 2020-03-06T20:07:01 #kisslinux <dylanaraps> That's not valid is it??? 2020-03-06T20:07:08 #kisslinux <dylanaraps> Oh 2020-03-06T20:07:10 #kisslinux <dylanaraps> I missed the then 2020-03-06T20:07:16 #kisslinux <dylanaraps> That's a chunky if 2020-03-06T20:07:24 #kisslinux <dylanaraps> :P 2020-03-06T20:07:34 #kisslinux <dylanaraps> Really nice work 2020-03-06T20:07:42 #kisslinux <E5ten> yeah lol, not a very readable script 2020-03-06T20:07:43 #kisslinux <E5ten> or at all 2020-03-06T20:08:40 #kisslinux <kiedtl> dylanaraps: see logs 2020-03-06T20:08:40 #kisslinux <E5ten> please send any recs you might have for working better or shorter or just cleanup 2020-03-06T20:08:56 #kisslinux <dylanaraps> kiedtl: I did 2020-03-06T20:09:01 #kisslinux <kiedtl> ah ok 2020-03-06T20:09:07 #kisslinux <dylanaraps> I'll work on it once the new word wrapper is in master 2020-03-06T20:09:29 #kisslinux <dylanaraps> It's a tiny bit slow still :( 2020-03-06T20:10:09 #kisslinux <kiedtl> btw, posting "s/<blah>/<blah>/g" has no effect unless a space is typed first 2020-03-06T20:10:27 #kisslinux <kiedtl> s/test/test 2020-03-06T20:10:32 #kisslinux <dylanaraps> I know 2020-03-06T20:10:45 #kisslinux <kiedtl> ok :) 2020-03-06T20:11:09 #kisslinux <dylanaraps> Fixed 2020-03-06T20:11:51 #kisslinux <dylanaraps> E5ten: set -- $1 2020-03-06T20:11:56 #kisslinux <dylanaraps> I'd first disable globbing 2020-03-06T20:12:15 #kisslinux <E5ten> the strings are guaranteed to be safe by the input file format 2020-03-06T20:12:24 #kisslinux <dylanaraps> Ah 2020-03-06T20:12:26 #kisslinux <dylanaraps> Good then 2020-03-06T20:12:27 #kisslinux <E5ten> but I guess I can just globally disable globbing cuz it's not used anywhere 2020-03-06T20:12:41 #kisslinux <dylanaraps> If it disables the globbing code itself it may make it faster 2020-03-06T20:12:50 #kisslinux <dylanaraps> (the globbing code in the shell) 2020-03-06T20:13:00 #kisslinux <dylanaraps> Also: name="${line#*_}" 2020-03-06T20:13:05 #kisslinux <dylanaraps> Quotes aren't needed for these 2020-03-06T20:13:13 #kisslinux <dylanaraps> Just a nitpick though 2020-03-06T20:13:21 #kisslinux <E5ten> I know I just like quotes lol, but fine I'll remove 2020-03-06T20:14:42 #kisslinux <dylanaraps> Looks fine to me overall 2020-03-06T20:17:11 #kisslinux <E5ten> I should probably replace some of the usage of meaningless letter variables with slightly more descriptive names, like not for the variable in "for <var>" but for other temporary variables 2020-03-06T20:32:03 #kisslinux <dylanaraps> Yeah 2020-03-06T20:34:18 #kisslinux <dylanaraps> brb 2 secs 2020-03-06T20:44:21 #kisslinux <black> help 2020-03-06T20:44:21 #kisslinux <black> birch help 2020-03-06T20:44:55 #kisslinux <black> -s 2020-03-06T20:45:03 #kisslinux <black> birch -s 2020-03-06T20:45:05 #kisslinux <black> clear 2020-03-06T20:45:10 #kisslinux <black> -h 2020-03-06T20:45:24 #kisslinux <dylanaraps> Hello 2020-03-06T20:46:02 #kisslinux <black> Hey just trying to figure this out 2020-03-06T20:46:13 #kisslinux <black> stumbling haha 2020-03-06T20:46:21 #kisslinux <dylanaraps> The commands all start with / 2020-03-06T20:46:34 #kisslinux <black> oh shoot thanks 2020-03-06T20:46:40 #kisslinux <dylanaraps> Have a look at the README for a description of each one 2020-03-06T20:46:57 #kisslinux <black> Thanks! 2020-03-06T20:47:29 #kisslinux <black> Having a bit of trouble with the install process 2020-03-06T20:47:48 #kisslinux <black> But I guess something's working 2020-03-06T20:57:09 #kisslinux <paradigm> dylanaraps: I ran into people running pfetch on Bedrock who are confused about their distro. Looking at pfetch's code and comments, there seems to be reluctance to special case distros, and Bedrock is an unusual situation which will need special casing. Before I try to figure out a patch to upstream, I figured I should check with you about the possibility of Bedrock being granted an exception. 2020-03-06T22:51:48 #kisslinux <ax> evening, noob question: why language shell not work at login but if su - its work? 2020-03-06T22:53:00 #kisslinux <ax> i add /etc/profile string loadkmap < /usr/... 2020-03-06T22:54:09 #kisslinux <ax> same string for my user in ~/.profile 2020-03-06T22:54:24 #kisslinux <ax> why at boot login from user dont work ?