2019-10-24T00:16:47 #kisslinux may be both 2019-10-24T00:17:59 #kisslinux if ethernet usually you only need to enable the kernel module (either built-in or module can work), but wifi if you have proprietary firmware you'd need it to be compiled as module and modprobe it manually 2019-10-24T00:38:07 #kisslinux I didnt compile loadable modules into the kernel.... fresh start it is. 2019-10-24T00:38:47 #kisslinux Boy, do i feel dumb. 2019-10-24T00:40:08 #kisslinux konimex: thank you for the pointers 2019-10-24T01:11:24 #kisslinux to the shell masters : what's the difference between `${VAR##PATTERN}` and `${VAR#PATTERN}`? 2019-10-24T01:12:20 #kisslinux i can't understand the man page 2019-10-24T01:13:37 #kisslinux and i can't tell their differences because testing them returns the same values 2019-10-24T01:14:01 #kisslinux same with `%` and `%%` 2019-10-24T02:32:18 #kisslinux nestman: One symbol strips the shortest match, and two strips the longest match 2019-10-24T02:37:24 #kisslinux Crestwave: Yes, that I can't understand. Can you provide some examples? 2019-10-24T02:38:53 #kisslinux var=a/b/c; echo "${var%/*}"; echo "${var%%/*}" 2019-10-24T02:39:09 #kisslinux var=asdf; echo "${var#*}"; echo "${var##*}" 2019-10-24T02:43:12 #kisslinux why didn't "${var#*}" remove anything? 2019-10-24T02:43:16 #kisslinux from asdf 2019-10-24T02:44:40 #kisslinux Because the shortest match is nothing 2019-10-24T02:45:30 #kisslinux * matches anything, including null 2019-10-24T02:46:24 #kisslinux doesn't that mean it should match 'a'? 2019-10-24T02:46:31 #kisslinux lol im so confused 2019-10-24T02:48:42 #kisslinux No 2019-10-24T02:48:53 #kisslinux Matching a would mean that the length of the match is 1 2019-10-24T02:49:04 #kisslinux Matching null would make the length 0 2019-10-24T03:05:44 #kisslinux so ${var#*} just means 'match nothing'? 2019-10-24T03:25:42 #kisslinux In the end it always just evaluates to $var if that's what you're asking 2019-10-24T03:26:09 #kisslinux That wasn't really a practical example but a demonstration of how it works, since I already gave a practical example for % 2019-10-24T03:55:59 #kisslinux Local variables in POSIX sh: https://github.com/Crestwave/snippets/blob/master/local.sh 2019-10-24T07:44:13 #kisslinux > Welcome to GitHub Sponsors! 2019-10-24T07:44:31 #kisslinux Just need to setup Stripe now. :) 2019-10-24T07:46:31 #kisslinux what is that? 2019-10-24T07:48:36 #kisslinux https://github.com/sponsors 2019-10-24T07:49:20 #kisslinux Basically Patreon but built into GitHub. 2019-10-24T13:51:07 #kisslinux Aw, apparently my local variable hack relies on UB in POSIX