💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2021-06-27.txt captured on 2021-12-17 at 13:26:06.

View Raw

More Information

-=-=-=-=-=-=-

[2021-06-27T01:38:27Z] <dilyn> gcc's build system uses host/target specification on certain checks so I'd have to see if there was a good reason for it to be specified 
[2021-06-27T01:38:40Z] <dilyn> I doubt there was, so maybe perhaps 
[2021-06-27T04:16:49Z] <dylan02> o/
[2021-06-27T04:20:15Z] <illiliti> hi!!!!!!!!!! nice to see you!
[2021-06-27T04:22:17Z] <dylan02> Nice to see you too. How have you been?
[2021-06-27T04:22:42Z] <konimex> welcome back
[2021-06-27T04:23:12Z] <dylan02> Thanks konimex, how are you? 
[2021-06-27T04:24:41Z] <illiliti> dylan02: i've been great, thanks
[2021-06-27T04:24:41Z] <konimex> pretty good, all things considered
[2021-06-27T04:35:15Z] <testuser[m]1> Hi
[2021-06-27T04:35:22Z] <testuser[m]1> Hi dylan02
[2021-06-27T04:39:31Z] <dylan02> Apologies, power outage
[2021-06-27T04:39:54Z] <schillingklaus> but now the dylanpower is back
[2021-06-27T04:40:28Z] <dylan02> lol
[2021-06-27T04:51:55Z] <testuser[m]1> dilyn: You'd need to specify the triplet for  the LTO symlink too so it can be changed to $(cc -dumpmachine) in both occurrences
[2021-06-27T04:56:21Z] <illiliti> dylan02: how are you? how are your cats?
[2021-06-27T04:57:45Z] <schillingklaus> the cats ate his mouse
[2021-06-27T04:58:00Z] <dylan02> I'm good. Many cats have come and gone (right now there's some kind of virus going around so I've lost some).
[2021-06-27T04:59:37Z] <dylan02> I've been experimenting with some (partially breaking) changes to the package manager. The first one is to sway to blake3 for checksums rathat than sha256. The rationale is performance of which there is a substantial improvement: https://pastebin.com/raw/G1T9K9Tv 
[2021-06-27T04:59:49Z] <dylan02> s/sway/switch/
[2021-06-27T04:59:59Z] <dylan02> s/rathat/rather/
[2021-06-27T05:00:49Z] <konimex> what's the implementation of the b3sum?
[2021-06-27T05:02:18Z] <schillingklaus> rathat sounds almost like redhat alias Poettering
[2021-06-27T05:04:20Z] <konimex> looks like there's a c and rust implementation
[2021-06-27T05:04:44Z] <schillingklaus> rust is totally non-kissish
[2021-06-27T05:04:50Z] <dylan0225> This is upstream: https://github.com/BLAKE3-team/BLAKE3
[2021-06-27T05:04:54Z] <dylan0225> I need to setup an IRC client, using the web interface for the moment.
[2021-06-27T05:05:40Z] <dylan02> konimex: There's Michael's implementation which I'm using and upstream. https://git.sr.ht/~mcf/b3sum https://github.com/BLAKE3-team/BLAKE3
[2021-06-27T05:05:42Z] <dylan02> I'm lagging lol
[2021-06-27T05:10:13Z] <dylan02> It's possible to transition to b3sum in a *non-breaking* way by making the repositories transition over transparently (as new checksums are generated). ie, both are supported until the sha256 checksums disappear. Just depends on whether or not this change is desirable.
[2021-06-27T05:12:35Z] <testuser[m]1> https://termbin.com/a2om nice
[2021-06-27T05:12:39Z] <konimex> well I wouldn't be opposed
[2021-06-27T05:12:45Z] <testuser[m]1> but are there enough fat packages to warrant this change ?
[2021-06-27T05:14:01Z] <konimex> if rust and firefox's sources are considered as it's on the main repo, it does
[2021-06-27T05:15:00Z] <noocsharp> i think faster checksum is better purely because it's faster, and because it's possible to switch
[2021-06-27T05:15:32Z] <noocsharp> regardless of fat packages
[2021-06-27T05:16:18Z] <noocsharp> also, welcome back dylan! (although i wasn't in irc when you were here last)
[2021-06-27T05:16:40Z] <schillingklaus> dilyn was a worthy substitute
[2021-06-27T05:16:52Z] <dylan02> noocsharp: Thanks :)
[2021-06-27T05:16:55Z] <dylan02> Agreed
[2021-06-27T05:17:34Z] <dilyn> o/ :)  
[2021-06-27T05:17:42Z] <dilyn> b3 is pretty cool
[2021-06-27T05:18:13Z] <dylan02> Hello
[2021-06-27T05:18:25Z] <dylan02> How's things?
[2021-06-27T05:18:38Z] <dilyn> Busy! 
[2021-06-27T05:19:12Z] <dilyn> How are your things? 
[2021-06-27T05:19:14Z] <dilyn> Having fun, I hope
[2021-06-27T05:19:27Z] <dylan02> My things are good
[2021-06-27T05:26:46Z] <schillingklaus> I guess good old md5 is too insecure for checksums
[2021-06-27T05:28:12Z] <dylanaraps> collision attacks
[2021-06-27T05:28:35Z] <dylanaraps> not good for file integrity 
[2021-06-27T05:59:30Z] <midfavila> oh, shit
[2021-06-27T05:59:40Z] <midfavila> hey dylanaraps, glad to see the red hat assassins didn't take you out
[2021-06-27T06:08:38Z] <dylanaraps> ;)
[2021-06-27T07:58:42Z] <sh4> dylanaraps: for a fair test you should run sha256sum several time as the first read most likely puts the file contents in cache
[2021-06-27T07:59:26Z] <sh4> i.e. in your paste the first invocation reads from fs + runs hashing, whereas second call only runs hashing
[2021-06-27T08:05:47Z] <dylanaraps> sh4: You're free to try it yourself. My snippet is runs copy/pasted from a series they didn't necessarily run in that order (and not only twice per file). 
[2021-06-27T08:06:15Z] <dylanaraps> blake3 really is that much faster consistently
[2021-06-27T08:08:48Z] <sh4> i see. actually this has come up once in sabotage too though i decided to stick with sha512sum as its readily avalaible anywhere, and i dont think 1 sec for hashing a 170MB file is unreasonable
[2021-06-27T08:09:05Z] <sh4> given that you probably need like 5 mins to download it
[2021-06-27T08:09:11Z] <sh4> (at least on my conn)
[2021-06-27T09:44:50Z] <dylanaraps> Opened two PRs people might find interesting: https://github.com/kiss-community/kiss/pull/39 https://github.com/kiss-community/kiss/pull/40
[2021-06-27T13:17:05Z] <claudia> dylanaraps: I am very glad you made it back. I wish you all the best!
[2021-06-27T13:19:08Z] <claudia> Good to see that you didtn ran out of ideas (:
[2021-06-27T14:37:50Z] <rio6> \o/
[2021-06-27T14:43:54Z] <riteo> hiiii!
[2021-06-27T14:46:16Z] <testuser[m]1> Hi riteo
[2021-06-27T14:57:39Z] <midfavila> ohaiyodesu, riteo-kun uwu~
[2021-06-27T15:17:01Z] <riteo> uwu
[2021-06-27T15:28:03Z] * testuser[m]1 cancels midfavila and riteo
[2021-06-27T15:44:29Z] <midfavila> roll for social
[2021-06-27T16:35:06Z] <herzog> Hi, are there any resources for packaging software? FAQ says "Package it yourself" but I've no idea what that means exactly. I think it involves compiling but can't find anything about it...
[2021-06-27T16:35:39Z] <riteo> you can look there: https://k1sslinux.org/package-system
[2021-06-27T16:35:48Z] <riteo> s/there/here/
[2021-06-27T16:36:19Z] <herzog> Oh okay thank you
[2021-06-27T16:36:23Z] <riteo> also there's this: https://k1sslinux.org/wiki/kiss/style-guide
[2021-06-27T16:36:27Z] <riteo> you're welcome :)
[2021-06-27T16:36:41Z] <herzog> So any package that works on Linux will work for KISS?
[2021-06-27T16:36:55Z] <riteo> it depends on what you mean for Linux
[2021-06-27T16:36:56Z] <testuser[m]1> KISS is Linux
[2021-06-27T16:37:18Z] <testuser[m]1> As long as it has deps satisfied and doesn't have glibc-isms
[2021-06-27T16:37:28Z] <testuser[m]1> But it's easy to patch out glibc-isms
[2021-06-27T16:37:33Z] <testuser[m]1> (Mostly)
[2021-06-27T16:37:36Z] <herzog> Something like this https://librewolf-community.gitlab.io/
[2021-06-27T16:37:43Z] <riteo> oh yeah
[2021-06-27T16:37:51Z] <riteo> I'm pretty sure someone already packaged it
[2021-06-27T16:37:59Z] <testuser[m]1> Not sure why you'd use that instead of hardened ff but noocsharp has it
[2021-06-27T16:38:07Z] <testuser[m]1> Wait
[2021-06-27T16:38:31Z] <testuser[m]1> http://git.nihaljere.xyz/kiss-nihal/file/librewolf/build.html
[2021-06-27T16:39:01Z] <testuser[m]1> Looks like it's an ayyland build so you'll have to remove that line
[2021-06-27T16:39:15Z] <riteo> ayyland
[2021-06-27T16:39:16Z] <testuser[m]1> cairo-gtk3-wayland
[2021-06-27T16:40:36Z] <herzog> I dunno, I saw that Mozilla was doing some anti free speech stuff
[2021-06-27T16:41:01Z] <testuser[m]1> Librewolf is just pozilla firefox with a couple of patches
[2021-06-27T16:41:09Z] <testuser[m]1> That doesn't un-pozilla it
[2021-06-27T16:41:12Z] <testuser[m]1> Other than telemetry
[2021-06-27T16:47:51Z] <noocsharp> it both wayland and xorg
[2021-06-27T16:48:09Z] <noocsharp> i guess you need to remove the line if you don't have wayland stuff installed
[2021-06-27T16:48:50Z] <herzog> Ok I will do that thank you
[2021-06-27T16:49:10Z] <noocsharp> also it's not the latest firefox
[2021-06-27T18:21:27Z] <dilyn> consolers: idk if you check the logs (so someone let them know if you see them), that specific firefox problem was resolved. I don't quite remember what I did, but repo/extra/firefox allegedly works just fine 
[2021-06-27T18:53:03Z] <Guest68> Was anybody able to get an encrypted KISS ?
[2021-06-27T19:01:52Z] <Guest68> So dm-mod.create is a kernel parameter... but what settings would I give it?
[2021-06-27T19:11:21Z] <riteo> gtg for now, bye!
[2021-06-27T19:52:30Z] <jaafarrc> My stuff is being installed to /var/db/kiss/var/db/kiss/installed instead of /var/db/kiss/installed...
[2021-06-27T19:53:31Z] <jaafarrc> And there seems to be other stuff like /var/db/kiss/{etc,usr,var}... WTF is going on?
[2021-06-27T20:11:21Z] <dilyn> jaafarrc: can we get the output of `env`? 
[2021-06-27T20:11:21Z] <jedavies> Your KISS_ROOT is set to /var/db/kiss ?
[2021-06-27T20:12:18Z] <dilyn> ^yes, something like that. relevant definitions would be sys_db=$KISS_ROOT/${pkg_db:=var/db/kiss/installed}
[2021-06-27T20:12:29Z] <dilyn> line ~1680
[2021-06-27T20:13:19Z] <jaafarrc> Wait... KISS_ROOT is an actual thing? I made it for my script for efficiency's sake.
[2021-06-27T20:13:35Z] <dilyn> It is indeed ;v 
[2021-06-27T20:13:44Z] <dilyn> it allows you to install packages to a different place than / 
[2021-06-27T20:13:46Z] <jaafarrc> Yes, my KISS_ROOT is /var/db/kiss.
[2021-06-27T20:14:44Z] <jaafarrc> Hold on a second, no, it isn't.
[2021-06-27T20:14:59Z] <jaafarrc> Should I add an "export?"
[2021-06-27T20:15:21Z] <jaafarrc> Nevermind, it is.
[2021-06-27T20:15:25Z] <jaafarrc> Ugh, I'm so blind.
[2021-06-27T20:15:42Z] <jaafarrc> If I run env, KISS_ROOT is right there and I already have "export."
[2021-06-27T20:26:12Z] <Guest68> Dilyn do you have experience with encrypting KISS
[2021-06-27T20:26:23Z] <dilyn> illiliti knows more than me 
[2021-06-27T20:26:28Z] <dilyn> a couple of people have done it
[2021-06-27T20:26:55Z] <jaafarrc> Alright, I've replace KISS_ROOT with KROOT in my script, and removed KISS_ROOT.
[2021-06-27T20:27:12Z] <jaafarrc> With "my script" being ~/.profile.
[2021-06-27T20:27:24Z] <Guest68> Ok. Am I right in assuming that I need to create the lvm on luks container, make sure kernel has lvm2 and dm-crypt, and use an initramfs (tiny-initramfs on GitHub)
[2021-06-27T20:27:35Z] <Guest68> The basic steps
[2021-06-27T20:36:38Z] <illiliti> yep, the first step is to make partitions on disk though
[2021-06-27T20:39:01Z] <Guest68> Ok also what is your kiss-encryption and how is it different from taking tiny initramfs approach?
[2021-06-27T20:39:35Z] <Guest68> Srry I have no idea how init systems work
[2021-06-27T20:40:08Z] <illiliti> kiss-encryption is usually intended to mount encrypted /home and other non-root partitions
[2021-06-27T20:44:54Z] <illiliti> tinyramfs mounts your encrypted / and boots into it by executing /sbin/init
[2021-06-27T20:46:36Z] <Guest68> Ok so if I want to have both encrypted /home and / I would need both
[2021-06-27T20:48:15Z] <illiliti> yes
[2021-06-27T20:48:42Z] <Guest68> Thank you just wanted to make sure before installing all this ^^
[2021-06-27T20:49:12Z] <illiliti> kiss-encryption is also gracefully unloads your encrypted partitions on shutdown
[2021-06-27T20:49:29Z] <illiliti> so you need to install it either way
[2021-06-27T20:54:43Z] <illiliti> home on separate partition is usually redundant if you want simple setup
[2021-06-27T20:55:13Z] <illiliti> i personally have everything on /
[2021-06-27T20:55:22Z] <illiliti> and i don't use lvm
[2021-06-27T20:57:42Z] <illiliti> https://termbin.com/nezb
[2021-06-27T20:57:53Z] <illiliti> this is my setup
[2021-06-27T20:58:15Z] <illiliti> sda1 is encrypted root
[2021-06-27T20:58:37Z] <illiliti> crypt-.... is unlocked root
[2021-06-27T20:59:47Z] <Guest68> Ok I will give that a try
[2021-06-27T21:00:23Z] <Guest68> So you basically have this. https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#LUKS_on_a_partition
[2021-06-27T21:02:22Z] <illiliti> yep
[2021-06-27T21:03:13Z] <illiliti> i have /boot on usb flash drive
[2021-06-27T21:04:38Z] <illiliti> i also use detached header to prevent detection of luks
[2021-06-27T21:04:58Z] <illiliti> without header it's just garbage data
[2021-06-27T21:05:23Z] <illiliti> just like plain dm-crypt
[2021-06-27T21:05:37Z] <illiliti> but with luks features
[2021-06-27T21:07:04Z] <Guest68> I know lvm needed a special linux lvm file type, but since I won't be using that I can just do ext4 for the partition right
[2021-06-27T21:07:10Z] <Guest68> file system*
[2021-06-27T21:07:18Z] <Guest68> err partition type
[2021-06-27T21:08:18Z] <illiliti> yeah, i can directly format unlocked luks container using ext4
[2021-06-27T21:08:28Z] <illiliti> lvm is optional thing
[2021-06-27T21:08:50Z] <jaafarrc> So, dilyn, if I set KISS_ROOT=/var/db/kiss/, does that mean I can just say KISS_PATH=main/core:main/xorg:etc?
[2021-06-27T21:08:52Z] <Guest68> 8e00 hex code is for Linux LVM 
[2021-06-27T21:08:59Z] <Guest68> What would I use instead?
[2021-06-27T21:09:15Z] <Guest68> Just 8300 Linux filesystem ?
[2021-06-27T21:09:21Z] <dilyn> no, KISS_PATH is its own thing
[2021-06-27T21:09:30Z] <illiliti> yes
[2021-06-27T21:09:40Z] <jaafarrc> Well, what does KISS_ROOT do?
[2021-06-27T21:10:20Z] <dilyn> KISS_ROOT sets ROOTFS to something other than / 
[2021-06-27T21:10:42Z] <dilyn> this is useful for something like installing a package to $HOME/.local, or for setting up a new ROOTFS for i.e. a chroot, an arch port, etc etc
[2021-06-27T21:11:16Z] <jaafarrc> Okay, then.
[2021-06-27T21:11:41Z] <jaafarrc> Btw, is it okay for KISS_PATH to start with :?
[2021-06-27T21:12:16Z] <dilyn> yes
[2021-06-27T21:12:36Z] <jaafarrc> Okay.
[2021-06-27T21:12:47Z] <dilyn> KISS_PATH is split by the : so it'll just 'disappear' 
[2021-06-27T21:13:37Z] <jaafarrc> Well, I've coded the script to not add a first :, just to be extra safe. I was just curious.
[2021-06-27T21:13:50Z] <dilyn> for sure 
[2021-06-27T21:46:32Z] <Guest68> Anybody know an alternative keyserver? keys.gnupg.net is not working for me
[2021-06-27T21:47:19Z] <dilyn> http://pgp.mit.edu/
[2021-06-27T21:50:16Z] <Guest68> Did not work. Says key not found on keyserver
[2021-06-27T21:50:27Z] <Guest68> bad public key
[2021-06-27T21:51:11Z] <Guest68> And yes I triple checked to see the key was typed in correctly
[2021-06-27T21:56:40Z] <dilyn> keyservers are always fuzzy 
[2021-06-27T21:56:43Z] <dilyn> are you trying to import my key? 
[2021-06-27T21:56:54Z] <Guest68> Yes
[2021-06-27T21:57:09Z] <Guest68> Maybe I will just add it manually
[2021-06-27T21:57:19Z] <dilyn> it's included in the README of the main repository so you can just save that code block to a file and import it from there 
[2021-06-27T21:57:26Z] <dilyn> assuming you trust the README lmao
[2021-06-27T22:00:01Z] <Guest68> It worked thanks
[2021-06-27T22:02:34Z] <dilyn> ofc! 
[2021-06-27T22:02:45Z] <dilyn> keyservers are... always unreliable. in my experience :(  
[2021-06-27T22:32:50Z] <Guest68> Do I need dosfstools  if I have FAT32 boot partition on UEFI
[2021-06-27T22:33:15Z] <Guest68> Or is that more for like other drives and stuff like that
[2021-06-27T22:36:13Z] <dilyn> depends on what you want to do 
[2021-06-27T22:36:28Z] <dilyn> I have an EFI partition but don't have dosfstools installed, for instance. because I don't need to say create a FAT partition 
[2021-06-27T22:36:51Z] <Guest68> Ok ty
[2021-06-27T22:36:51Z] <noocsharp> the boot script will use dosfstools to do an fsck i blieve
[2021-06-27T22:37:15Z] <dilyn> if you want to mount that partition, you'd need support for that filesystem in the kernel. if you want to create that filesystem, you'd need the utilities. basically, roughly, mostly 
[2021-06-27T22:37:25Z] <dilyn> yeah but it won't error if you don't have fsck 
[2021-06-27T22:37:33Z] <dilyn> well, it wont' exit at least 
[2021-06-27T22:38:02Z] <Guest68> Yeh I was wondering if it was needed for boot process, probably wont be creating partitions
[2021-06-27T23:02:16Z] <claudia> haha shasum for a 2gb source takes 17s . b3sum takes roughly 2s. Thats a nifty difference.
[2021-06-27T23:04:34Z] <Guest68> I need iwlwifi and amdgpu firmware for my graphics card and wifi adapter. I cloned the linux-firmware, but which files do copy? Do I need to move the iwlwifi/amdgpus ending with .ucode?
[2021-06-27T23:06:07Z] <Guest68> I see an amdgpu directory containing bin folders but no iwlwifi directory, just a bunch of iwlwifi files with extension ucode
[2021-06-27T23:06:12Z] <Guest68> bin files*
[2021-06-27T23:07:11Z] <claudia> Guest68, Have a look for iwlwifi https://k1sslinux.org/wiki/kernel/thinkpad
[2021-06-27T23:10:43Z] <dilyn> Qt is the absolute worst. http://ix.io/3rjN
[2021-06-27T23:10:59Z] <Guest68> Ok so I am copying a ucode, but there are so many haha not sure which one to choose. I am not on a thinkpad
[2021-06-27T23:13:44Z] <claudia> dmesg is your friend ;)
[2021-06-27T23:13:52Z] <claudia> on a livecd
[2021-06-27T23:14:33Z] <Guest68> You're right
[2021-06-27T23:14:47Z] <jedavies> dilyn / konimex: did you every try building gcc from wyverkiss?
[2021-06-27T23:15:24Z] <claudia> Guest68, https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
[2021-06-27T23:16:00Z] <Guest68> Yes I got it already
[2021-06-27T23:16:49Z] <Guest68> Do I need to worry about Intel microcode firmware? My CPU is an i7-3770k
[2021-06-27T23:19:05Z] <jedavies> s/every/ever
[2021-06-27T23:19:35Z] <noocsharp> see: https://k1sslinux.org/wiki/kernel/firmware#2.2
[2021-06-27T23:19:39Z] <noocsharp> Guest68
[2021-06-27T23:19:48Z] <GalaxyNova> After being fustrated with inconsistencies in the community repository I made a script to check for things that don't fit the style guidelineshttps://github.com/AndreiSva/kiss-style
[2021-06-27T23:20:23Z] <GalaxyNova> it detects things like invisible characters, tabs, and inconsistent indentation
[2021-06-27T23:20:44Z] <GalaxyNova> also warns you if you use cp instead of install
[2021-06-27T23:22:16Z] <GalaxyNova> running this on all of the community repository returns so many errors lmao
[2021-06-27T23:22:38Z] <dilyn> community is less well-vetted than the main repository haha
[2021-06-27T23:22:44Z] <noocsharp> GalaxyNova: instead of piping cat into head in that if statement, you can do "head -n1 $file"
[2021-06-27T23:22:57Z] <dilyn> Guest68: microcode for CPUs is not technically required
[2021-06-27T23:23:29Z] <Guest68> "Technically", but would you recommend it? I don't even know what it does
[2021-06-27T23:24:24Z] <claudia> It wont hurt. 
[2021-06-27T23:24:30Z] <claudia> You can always do it later on.
[2021-06-27T23:25:17Z] <dilyn> think of the microcode as patches and fixes to your CPU's firmware
[2021-06-27T23:25:23Z] <dilyn> fixes up microcontroller bugs etc
[2021-06-27T23:25:44Z] <dilyn> so it's good to have if you, say, don't want some sort of WhateverCVE to sneak up on you 
[2021-06-27T23:25:53Z] <dilyn> but it isn't needed like how amdgpu firmwares are needed
[2021-06-27T23:29:49Z] <Guest68> Do the amdgpu bin files need to go in a separate directory or can I just put them in /usr/lib/firmware/ with the iwlwifi
[2021-06-27T23:30:08Z] <Guest68> polaris10_{ce,ce_2,k_smc,k2_smc,k_mc,mc,me,me_2,mec2,mec2_2,mec,mec_2,pfp,pfp_2,rlc,sdma1,sdma,smc,smc_sk,uvd,vce}.bin
[2021-06-27T23:31:25Z] <dilyn> I put all mine in /usr/lib/firmware/amdgpu and iirc it *has* be be in a subdir named amdgpu? 
[2021-06-27T23:31:41Z] <dilyn> someone was having problems before with it and I think that was, somehow, the solution...
[2021-06-27T23:32:39Z] <illiliti> GalaxyNova: https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L51 << -T is not portable
[2021-06-27T23:33:28Z] <illiliti> GalaxyNova: https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L70 << -P is not portable
[2021-06-27T23:34:16Z] <illiliti> https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L72 << [ ... -a ... ] is XSI, not POSIX
[2021-06-27T23:35:28Z] <illiliti> https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L80 << case $... in ($...) is not portable
[2021-06-27T23:35:51Z] <illiliti> use `case $... in 123)`
[2021-06-27T23:37:19Z] <illiliti> https://github.com/AndreiSva/kiss-style/blob/main/kiss-style#L88 << if [ "${#line}" -gt 80 ]; then ...
[2021-06-27T23:38:04Z] <noocsharp> GalaxyNova: just run shellcheck on it
[2021-06-27T23:38:21Z] <GalaxyNova> illiliti: That's odd
[2021-06-27T23:38:32Z] <GalaxyNova> shellcheck didn't say anything about -P not being portable
[2021-06-27T23:38:43Z] <GalaxyNova> does it not work on busybox?
[2021-06-27T23:38:47Z] <illiliti> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html
[2021-06-27T23:39:10Z] <illiliti> there's no -P
[2021-06-27T23:39:14Z] <GalaxyNova> alright then how am i supposed to grep a tab character
[2021-06-27T23:40:00Z] <noocsharp> you could insert a literal tab character
[2021-06-27T23:40:32Z] <dilyn> ^
[2021-06-27T23:42:16Z] <illiliti> i also suggest to use `printf '%s\n' "$var"` instead of echo or printf "$var"
[2021-06-27T23:42:28Z] <GalaxyNova> why's that
[2021-06-27T23:43:31Z] <illiliti> $var may break echo if contains options -Een
[2021-06-27T23:43:45Z] <illiliti> and echo is deprecated by POSIX due to this
[2021-06-27T23:43:56Z] <illiliti> printf "$var" is generally bad
[2021-06-27T23:44:46Z] <noocsharp> also instead of going line by line to check for "cp ", you can just use 'grep "cp " $file' to do the whole file at once