This post did not contain any content.
-
i do not like bash because:
- string arrays
- error handling
- pipes@ari pipes are both incredibly useful for certain specific tasks, and absolutely awful for other tasks
-
@arctic i complain about hitler and you recommend me stalin /lh
@ari if you squint and stand 20 feet away it looks just like Go -
@OwOday to be clear: the python for this would be simple, but unfortunately bash cannot seem to fathom putting strings with spaces in an array together, because arrays themselves are just strings with spaces between them
@ari does
ARRAY=("stuff here"
"stuff 2 here"
"stuff 3 here")not work?
Sorry if misunderstanding -
This post did not contain any content.
@ari i have never understood people who write actual programs in shell. there are SO many better languages
-
This post did not contain any content.
@ari mood
-
@ari if you squint and stand 20 feet away it looks just like Go
@arctic i would be surprised if any language microsoft designs doesn't just look like C#
-
@ari does
ARRAY=("stuff here"
"stuff 2 here"
"stuff 3 here")not work?
Sorry if misunderstanding@OwOday unfortunately not statically declaring- i'm pulling in filenames which have spaces in them, either from
findor a glob -
@ari i have never understood people who write actual programs in shell. there are SO many better languages
@AVincentInSpace a mix of convenience (99% chance if the user runs linux, they also run bash) and ease of deployment (don't have to ship binary executables, dealing with architecture, etc.)
-
@AVincentInSpace a mix of convenience (99% chance if the user runs linux, they also run bash) and ease of deployment (don't have to ship binary executables, dealing with architecture, etc.)
@AVincentInSpace as a specific example: the script i was going to write had to support my x86_64 linux system and my aarch64 macOS system
-
This post did not contain any content.
@ari@fedi.arimelody.space real!!! deletes your home directory
-
This post did not contain any content.@ari bashphobic
I love bash -
R relay@relay.mycrowd.ca shared this topic