2020-04-03 10:42:32 +tyil this fucking guy 2020-04-03 10:42:37 +tyil cats 1 file to another file 2020-04-03 10:42:45 +tyil I wonder if he knows about `cp` 2020-04-03 10:43:12 +tyil also, shebang is inconsistent to the rest of the project 2020-04-03 10:43:24 +japanoise oof 2020-04-03 10:43:31 +tyil uses exit instead of return from main (which is what the rest of the project is doing) 2020-04-03 10:43:53 +tyil shifts OPTIND at the *end* of the code 2020-04-03 10:43:59 +tyil instead of after handling opts 2020-04-03 10:44:09 +tyil I only know spotted his `sed -i` 2020-04-03 10:44:09 +japanoise brainlet detected 2020-04-03 10:45:08 +tyil mfw 2020-04-03 10:45:13 +tyil he could drop the -i on sed 2020-04-03 10:45:17 +tyil by dropping the cat 2020-04-03 10:45:22 +opal `cat file2` is vastly different from `cp file1 file2` 2020-04-03 10:45:33 +tyil sed 's/a/b' < template > dockerfile 2020-04-03 10:45:46 +opal but yeah that would be more ideal, just using sed 2020-04-03 10:45:46 +tyil opal: it's `cat file1 > file2` 2020-04-03 10:46:01 +tyil no `<` there :( 2020-04-03 10:46:15 +opal ok pedant 2020-04-03 10:46:19 +opal missing my point fucking entirely 2020-04-03 10:46:24 +tyil ok 2020-04-03 10:46:32 +ullard Hello lads 2020-04-03 10:46:47 +tyil feel free to expand your point 2020-04-03 10:46:50 +japanoise still useless since he's using sed -i further down when he should just be doing sed '…' < input > output 2020-04-03 10:46:56 +opal <+opal> `cat file2` is vastly different from `cp file1 file2` 2020-04-03 10:46:58 +opal whats there to expand there 2020-04-03 10:47:00 +opal they are different 2020-04-03 10:47:09 +opal they do different things 2020-04-03 10:47:21 +japanoise cp input output; sed -i '…' output; is pretty brainlet 2020-04-03 10:47:39 +tyil japanoise: its an interesting choice to be sure 2020-04-03 10:47:47 +tyil not one that I will allow 2020-04-03 10:47:52 +japanoise I'd accept it if it was like 2020-04-03 10:48:01 +tyil I'm more than OK to fix up many of his mishaps 2020-04-03 10:48:06 +tyil but some shit is just not OK 2020-04-03 10:48:08 +opal i use cat to "copy" all the time 2020-04-03 10:48:09 +tyil and he needs to know 2020-04-03 10:48:12 +japanoise some command > file; some other command >> file; some third command >> file; sed -i file 2020-04-03 10:48:19 +opal if file2 exists and it has x permissions and you use cp(1) to file2 2020-04-03 10:48:20 +opal guess what 2020-04-03 10:48:22 +opal now it has y permissions 2020-04-03 10:48:28 +opal cp and cat are not the same 2020-04-03 10:48:39 +opal do you understand now or do i need to hold your hand more tyil 2020-04-03 10:48:39 +japanoise or better: (command; command; command) > file; sed -i file 2020-04-03 10:48:49 +japanoise use subshells fuckers they're good 2020-04-03 10:48:54 +tyil opal: no need to get upset about it 2020-04-03 10:49:01 +tyil I'm talking about this particular patch 2020-04-03 10:49:04 +opal that doesnt answer my question 2020-04-03 10:49:06 +opal do you understand 2020-04-03 10:49:08 +tyil sure 2020-04-03 10:49:10 +opal ok 2020-04-03 10:49:12 +tyil again, no need to get *this* upset 2020-04-03 10:49:12 +opal cool 2020-04-03 10:49:24 +opal im upset because you completely fucking glaze over the point 2020-04-03 10:49:27 +opal far from first time 2020-04-03 10:49:51 +opal japanoise { command;command;... } > file would equally work and not spawn a subshell 2020-04-03 10:50:00 +japanoise that too 2020-04-03 10:50:08 +japanoise also if you want some particular perms on a file, chmod it 2020-04-03 10:50:11 +japanoise better to be explicit 2020-04-03 10:50:28 +opal i have a case in one of my scripts where i want to keep *whatever* perms the file currently has, if it exists 2020-04-03 10:50:32 +opal i dont want the perms to be touched at all 2020-04-03 10:50:43 +opal and the script shouldnt know what perms it has 2020-04-03 10:50:44 +opal it doesnt need to care 2020-04-03 10:50:59 +ullard opal: cp won't change perms of an existing file 2020-04-03 10:51:02 +ullard Try it 2020-04-03 10:51:15 +ullard Not without -p anyway 2020-04-03 10:51:50 +opal huh guess so 2020-04-03 10:52:00 +opal thought file was completely overwritten with cp 2020-04-03 10:52:03 +tyil >getting this upset and being wrong in the end 2020-04-03 10:52:04 +opal thats the problem with cp 2020-04-03 10:52:08 +opal shut up nigger 2020-04-03 10:52:28 +opal the problem with cp is thers too much going on in one single program that its difficult to understand what its actually going to do 2020-04-03 10:52:38 +opal it isnt just "copy file" 2020-04-03 10:52:45 +opal its "copy file and (maybe) attributes" 2020-04-03 10:52:46 +japanoise tyil prefers a different type of cp B) 2020-04-03 10:52:52 +tyil japanoise: ;)))) 2020-04-03 10:53:00 +tyil I also like cats tho 2020-04-03 10:53:03 +opal "oh and maybe xattrs and selinux contexts but just maybe and only sometimes" 2020-04-03 10:53:07 +tyil if only we could combine the two 2020-04-03 10:53:14 +japanoise loli catgirls 2020-04-03 10:53:16 +opal like its the exact opposite of "do one thing" 2020-04-03 10:53:17 +japanoise boom 2020-04-03 10:53:26 +opal i hate the cp utility 2020-04-03 10:53:29 +tyil japanoise: now I'm aroused 2020-04-03 10:53:32 +opal i hate ls too --- 2020-04-20 08:17:52 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 08:17:52 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 10:14:24 +tyil what license to use for a project that just defines an interface 2020-04-20 10:14:40 +tyil thinking of LGPL, so it can be used by pretty much everyone 2020-04-20 10:46:00 +opal all rights reserved 2020-04-20 13:26:16 +waterkip MIT 2020-04-20 13:26:52 +tyil MIT/BSD are the cuck's licenses 2020-04-20 13:27:20 +tyil "h-here big corporation, please use all my work for with completely no strings attached, I love providing gratis work for mega corporations that give nothing back to the community" 2020-04-20 13:29:19 +tyil LGPL would allow them to use it, even in proprietary codebases, so long as they share whatever they fuck up about this specific thing 2020-04-20 13:29:50 +tyil so they can use it as is, completely for gratis, but at least the community gets *something* back in return if they have an improvement 2020-04-20 13:30:41 ← Nycatelos (~Ny@unaffiliated/illusional) has left #scriptkitties ("WeeChat 2.7.1") 2020-04-20 17:06:34 +tyil trobotham-cloud: you still running a minecraft server? 2020-04-20 21:08:26 ← trobotham-cloud (sid405@gateway/web/irccloud.com/x-qqchkjqhzrsagxcs) has quit (Ping timeout: 245 seconds) 2020-04-20 21:09:34 → trobotham-cloud (sid405@gateway/web/irccloud.com/x-lmyrdqvruzceypdy) has joined #scriptkitties 2020-04-20 21:09:34 # Mode #scriptkitties [+v trobotham-cloud] by ChanServ 2020-04-20 22:09:56 +waterkip I fucking love MIT/BSD and Apache licenses 2020-04-20 22:10:02 +waterkip because that is truely free and open 2020-04-20 22:10:08 +waterkip have at it 2020-04-20 22:10:14 +waterkip and enjoy 2020-04-20 22:11:40 +waterkip if you want to build a bussiness model around those licenses, yes.. that is a bit icky 2020-04-20 22:11:50 +waterkip redis can probably tell you all about it 2020-04-20 23:25:06 +opal <+tyil> "h-here big corporation, please use all my work for with completely no strings attached, I love providing gratis work for mega corporations that give nothing back to the community" 2020-04-20 23:25:10 +opal except there are strings attached 2020-04-20 23:25:26 +opal the source you published remains open 2020-04-20 23:25:34 +opal so i dont know what the fucking big deal is 2020-04-20 23:26:09 +opal "big bad businesses" cant suddenly make it proprietary 2020-04-20 23:27:47 +tyil ok 2020-04-20 23:29:41 +opal so tell me how gpl prevents businesses from profiting off software again, tyil 2020-04-20 23:29:59 +tyil I never argued that, and that's not something GPL does, nor something I want to prevent 2020-04-20 23:30:05 +tyil try again without a strawman please 2020-04-20 23:30:34 +opal >I love providing gratis work for mega corporations that give nothing back to the community 2020-04-20 23:30:34 +opal >implying corps selling gpl'd software dont do just that 2020-04-20 23:30:44 +opal does your memory reset every hour or something 2020-04-20 23:30:53 +tyil yes, neither of those statements say I oppose to companies making a profit 2020-04-20 23:31:05 +tyil (the 2nd one is also not a statement I made) 2020-04-20 23:31:17 +opal <+tyil> MIT/BSD are the cuck's licenses 2020-04-20 23:31:17 +opal <+tyil> "h-here big corporation, please use all my work for with completely no strings attached, I love providing gratis work for mega corporations that give nothing back to the community" 2020-04-20 23:31:24 +opal ?? 2020-04-20 23:31:40 +opal so whats your issue exactly with permissive licensing 2020-04-20 23:31:46 +opal other than wanting to be contrarian 2020-04-20 23:31:55 +tyil I'm still waiting on where you show me that I said I oppose companies making a profit 2020-04-20 23:32:04 +opal so whats your issue exactly with permissive licensing 2020-04-20 23:32:04 +opal other than wanting to be contrarian 2020-04-20 23:32:28 +opal i didnt come in here and say permissive licences are for cucks, with no explanation 2020-04-20 23:32:30 +opal you did 2020-04-20 23:32:31 +opal try again 2020-04-20 23:32:32 +tyil ok, so I'm going to guess this is you admitting I didn't say anything of the sort 2020-04-20 23:32:55 +opal retard 2020-04-20 23:32:58 +tyil now that that's out of the way 2020-04-20 23:33:02 +opal cant even read your own fucking words 2020-04-20 23:33:25 +opal ................................................................................ 2020-04-20 23:33:25 +opal ................................................................................ 2020-04-20 23:33:26 +opal ................................................................................ 2020-04-20 23:33:26 +opal ................................................................................ 2020-04-20 23:33:26 +opal ................................................................................ 2020-04-20 23:33:26 +opal ................................................................................ 2020-04-20 23:33:27 +opal ................................................................................ 2020-04-20 23:33:30 +opal ................................................................................ 2020-04-20 23:33:36 +opal ................................................................................ 2020-04-20 23:33:37 +opal ................................................................................ 2020-04-20 23:33:38 +opal ................................................................................ 2020-04-20 23:33:38 +opal ................................................................................ 2020-04-20 23:33:38 +tyil I dislike permissive licensing because I prefer free software, and permissive licensing does actually allow a company to just grab your shit, and incorporate it into their proprietary shit without ever giving back *anything* to the community 2020-04-20 23:33:39 +opal ................................................................................ 2020-04-20 23:33:40 +opal ................................................................................ 2020-04-20 23:33:40 +opal ................................................................................ 2020-04-20 23:33:41 +opal ................................................................................ 2020-04-20 23:33:41 +opal ................................................................................ 2020-04-20 23:33:42 +opal ................................................................................ 2020-04-20 23:33:43 +opal ................................................................................ 2020-04-20 23:33:43 +opal ................................................................................ 2020-04-20 23:33:44 +opal ................................................................................ 2020-04-20 23:33:45 +opal ................................................................................ 2020-04-20 23:33:45 +opal ................................................................................ 2020-04-20 23:33:46 +opal ................................................................................ 2020-04-20 23:33:46 +opal ................................................................................ 2020-04-20 23:33:47 +opal ................................................................................ 2020-04-20 23:33:47 +opal ................................................................................ 2020-04-20 23:33:48 +opal ................................................................................ 2020-04-20 23:33:49 +opal ................................................................................ 2020-04-20 23:33:49 +opal ................................................................................ 2020-04-20 23:33:50 +opal ................................................................................ 2020-04-20 23:33:50 +opal ................................................................................ 2020-04-20 23:33:51 +opal ................................................................................ 2020-04-20 23:33:52 +opal ................................................................................ 2020-04-20 23:33:52 +opal ................................................................................ 2020-04-20 23:33:53 +opal ................................................................................ 2020-04-20 23:33:53 +opal ................................................................................ 2020-04-20 23:33:54 +opal ................................................................................ 2020-04-20 23:33:55 +opal ................................................................................ 2020-04-20 23:33:55 +opal ................................................................................ 2020-04-20 23:33:56 +opal ................................................................................ 2020-04-20 23:33:56 +opal ................................................................................ 2020-04-20 23:33:57 +opal ................................................................................ 2020-04-20 23:33:58 +opal ................................................................................ 2020-04-20 23:33:58 +opal ................................................................................ 2020-04-20 23:33:59 +opal ................................................................................ 2020-04-20 23:33:59 +opal ................................................................................ 2020-04-20 23:34:00 +opal ................................................................................ 2020-04-20 23:34:01 +opal ................................................................................ 2020-04-20 23:34:01 # Mode #scriptkitties [-v+q opal *!*@volatile/founder/wowaname] by ChanServ 2020-04-20 23:34:01 opal ................................................................................ 2020-04-20 23:34:13 +tyil you understand why I have to quiet you, I hope 2020-04-20 23:34:21 +tyil feel free to pm me once you've cooled off 2020-04-20 23:37:56 BlackChaosNL[m] Damn, wtf xD 2020-04-20 23:38:15 * tyil shrugs 2020-04-20 23:44:07 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:44:30 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:44:30 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:44:31 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:44:50 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:44:50 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:44:51 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:45:10 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:45:11 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:45:31 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:45:32 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:45:32 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:45:52 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:45:52 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:45:53 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:46:12 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:46:12 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:46:14 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:46:31 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:46:32 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:46:33 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:46:59 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:47:09 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:47:11 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:47:12 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:47:12 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:47:14 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:47:58 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:48:24 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:48:35 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:49:27 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:49:44 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:50:04 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:50:33 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:50:34 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:50:36 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:55:30 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:55:30 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:55:33 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:55:52 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:55:52 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:55:56 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:56:53 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:56:53 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-20 23:56:56 ← opal (~wowaname@volatile/founder/wowaname) has quit (Excess Flood) 2020-04-20 23:57:40 → opal (~wowaname@volatile/founder/wowaname) has joined #scriptkitties 2020-04-20 23:57:40 # Mode #scriptkitties [+v opal] by ChanServ 2020-04-21 00:18:01 ← opal (~wowaname@volatile/founder/wowaname) has left #scriptkitties ("i'm never coming back")