>ABC="abc">works>ABC = "abc">ABC executable doesn't existHow do linuxtards put up with this shit for decades? It's just tip of the iceberg.
>>110128449>BashAm I supposed to help you or something? All I can do is laugh at you.
why do Linuxtards put up with such a primitive caveman cobbled together piece of shit called bash? even Windows has a better alternative to its cmd.exe legacy shit
>>110128551cmd is cancer too just a different kind of cancer
>>110128560yeah i agree thats why i showed powershell, which is a real scripting language in its own rightcmd and bash are just piles of badly thought out extensions on top of some 1980s (and in bash's case, 1960s) slopware
>>110128551>using PowerShell outside of scriptsWell?
>>110128449Imagine at $JOB some fucking retard though it a genius idea to refactor a cherry-picking script written in bash into a whole fucking multi-command CLI written in bash, complete with a bespoke autocomplete framework, just to avoid Python because it's le bad dependency management.I fucking despise Python and would have taken it over that bash abomination.
>>110128570what?people think that using powershell outside of scripts is too annoying because the command names are too long but in reality you can just use the default aliases for commands, or invent your own aliasesinstead of Get-Content file.txt | Select-String blah you can just do gc file.txt | sls blah or better, sls -path file.txt blah
>>110128607PowerShell shits and pisses itself from a fucking ampersand, which just so happens to be pretty fucking common in URLs
>>110128640yeah, so quote it.bash shits itself from & as well, you know.
>>110128449it's so shit holy fuck
>>110128449What if I had a command called ABC and I want to pass = and "abc" as arguments to it?
>>110128727ABC "=" "abc"checkmate.
>>110128449man i am so glad we have ASI now so i never have to look at bash or its god awful syntax again>>110128551there are a billion linux shells for linux that are ment to fix bashnobody is using them because nobody wants to be the one guy using nushell or whatever
>>110128910>nobody is using them because nobody wants to be the one guy using nushell or whateverah yes, the OS of freedom and choice - but you can't actually use good software because all the other retards are stuck on antiquated crap from the 1960spowershell is standard on windows and comes pre-installed so it is the universal best choice for quick scriptswhy don't Linux devs settle on a better shell and agree to pre-install it on all distros to fix this problem?
>>110128996it goes beyond linux. macos uses bash from 15+ years ago with all it's quirks and some version of zsh.and utilities on different systems are either gnu, some bsd, busybox, the canonical ubango gnu rust rewrite..the only baseline is posix. that is the most portable scripting language.
>>110129092and openbsd and things that use busybox don't use bash. have to explicitly install it.
>>110129098and android uses something similar but different than busybox (due to non-free loicensing)
>>110129092>the only baseline is posix. that is the most portable scripting language.and it doesn't work on windows (80% of computers) without you bringing a separate .exe to interpret itjavascript is the most portable scripting language, or powershell if you want a "real" language that has access to the PC
>>110129108windows computers are basically for ipad usersso it doesn't matterwindows does not come with command line javascript runtime like node either (maybe it does these days with all the webshittification)on windows you can install nix shell too in different flavors (cygwin, wsl, msys2, git bash), same way you would install python or node, but it's not stock standard
>>110129126>it doesn't count because it just doesn't okaylol>windows does not come with command line javascript runtimecommand line or not command line is irrelevant, it comes with a browser that can run javashit, as does linux android and mac
>>110129143you can try to use microsoft google chrome edge as a web server or system automation tool if you want
>>110128449just use xonsh
>>110128910>nobody is using them because nobody wants to be the one guy using nushell or whateveryour interactive shell can be whatever you want, zsh, fish, powershell, zoomershell, whatever. changing it doesn't break things.that is why zsh with all it's bells and whistles and plugins is so common and it is not fully bash/posix compatible either.the non-interactive shell, the one operating system, ci, servers etc need to align with other systems, unless you have severe autism and will rewrite all build and system service scripts in your nu-shell.
>>110128449you got filtered. you just have to learn the language in an earnest way. ABC="abc" is assingment while the other form isn't. is it tyrannical? yes. is it better than most other languages? given that's it's heavily inspired by algol, yes. it's lisp > python > algol > C > others in terms of syntax.
>>110128910>>110128996You can just use zsh while also having bash. Why do you care what everyone else uses. There's thr shebang to automatically use the intended shrll a script was written for, so you don't have to care if others write their scripts in bash as long as they work.This is like complaining that others use some other GUI framework to develop THEIR software and somehow that forces (YOU) to use that framework to develop YOUR software, even though both will run natively on your platform. You have a choice, (You) are just too retarded to see it.>But nobody else will be able to run my scriptYes they will, just tell them to install zsh the same way a lot of other programs have dependencies. What a nothingburger fucking complaint.
>>110128449>tcshset abc = abcecho $abc>tclset abc "abc"echo $abc>fishset abc "abc"echo $abc
set abc = abcecho $abc
set abc "abc"echo $abc
>>110129786*set abc = "abc"