Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. This post did not contain any content.

This post did not contain any content.

Scheduled Pinned Locked Moved Uncategorized
23 Posts 12 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • owoday@social.seattle.wa.usO owoday@social.seattle.wa.us

    @ari honestly ill take a simple bash script over equivelant python script any day

    ari@fedi.arimelody.spaceA This user is from outside of this forum
    ari@fedi.arimelody.spaceA This user is from outside of this forum
    ari@fedi.arimelody.space
    wrote last edited by
    #8

    @OwOday problem: this bash is not simple

    owoday@social.seattle.wa.usO 1 Reply Last reply
    0
    • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space

      @OwOday problem: this bash is not simple

      owoday@social.seattle.wa.usO This user is from outside of this forum
      owoday@social.seattle.wa.usO This user is from outside of this forum
      owoday@social.seattle.wa.us
      wrote last edited by
      #9

      @ari

      ari@fedi.arimelody.spaceA 1 Reply Last reply
      0
      • owoday@social.seattle.wa.usO owoday@social.seattle.wa.us

        @ari

        ari@fedi.arimelody.spaceA This user is from outside of this forum
        ari@fedi.arimelody.spaceA This user is from outside of this forum
        ari@fedi.arimelody.space
        wrote last edited by
        #10

        @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

        sodiboo@gaysex.cloudS owoday@social.seattle.wa.usO 2 Replies Last reply
        0
        • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space

          @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

          sodiboo@gaysex.cloudS This user is from outside of this forum
          sodiboo@gaysex.cloudS This user is from outside of this forum
          sodiboo@gaysex.cloud
          wrote last edited by
          #11

          @ari@fedi.arimelody.space @OwOday@social.seattle.wa.us Have you considered base64-encoding or URL-encoding the elements of the array?

          1 Reply Last reply
          0
          • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space
            This post did not contain any content.
            pry@raru.reP This user is from outside of this forum
            pry@raru.reP This user is from outside of this forum
            pry@raru.re
            wrote last edited by
            #12

            @ari now that uv has inline script dependencies, I just use python for everything since I can just run it and still use whatever packages I want without needing to setup a venv

            1 Reply Last reply
            0
            • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space

              i do not like bash because:
              - string arrays
              - error handling
              - pipes

              solonovamax@tech.lgbtS This user is from outside of this forum
              solonovamax@tech.lgbtS This user is from outside of this forum
              solonovamax@tech.lgbt
              wrote last edited by
              #13

              @ari pipes are both incredibly useful for certain specific tasks, and absolutely awful for other tasks

              1 Reply Last reply
              0
              • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space

                @arctic i complain about hitler and you recommend me stalin /lh

                arctic@labyrinth.zoneA This user is from outside of this forum
                arctic@labyrinth.zoneA This user is from outside of this forum
                arctic@labyrinth.zone
                wrote last edited by
                #14
                @ari if you squint and stand 20 feet away it looks just like Go
                ari@fedi.arimelody.spaceA 1 Reply Last reply
                0
                • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space

                  @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

                  owoday@social.seattle.wa.usO This user is from outside of this forum
                  owoday@social.seattle.wa.usO This user is from outside of this forum
                  owoday@social.seattle.wa.us
                  wrote last edited by
                  #15

                  @ari does
                  ARRAY=("stuff here"
                  "stuff 2 here"
                  "stuff 3 here")

                  not work?
                  Sorry if misunderstanding

                  ari@fedi.arimelody.spaceA 1 Reply Last reply
                  0
                  • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space
                    This post did not contain any content.
                    A This user is from outside of this forum
                    A This user is from outside of this forum
                    avincentinspace@furry.engineer
                    wrote last edited by
                    #16

                    @ari i have never understood people who write actual programs in shell. there are SO many better languages

                    ari@fedi.arimelody.spaceA 1 Reply Last reply
                    0
                    • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space
                      This post did not contain any content.
                      foxarc@furry.engineerF This user is from outside of this forum
                      foxarc@furry.engineerF This user is from outside of this forum
                      foxarc@furry.engineer
                      wrote last edited by
                      #17

                      @ari mood

                      1 Reply Last reply
                      0
                      • arctic@labyrinth.zoneA arctic@labyrinth.zone
                        @ari if you squint and stand 20 feet away it looks just like Go
                        ari@fedi.arimelody.spaceA This user is from outside of this forum
                        ari@fedi.arimelody.spaceA This user is from outside of this forum
                        ari@fedi.arimelody.space
                        wrote last edited by
                        #18

                        @arctic i would be surprised if any language microsoft designs doesn't just look like C#

                        1 Reply Last reply
                        0
                        • owoday@social.seattle.wa.usO owoday@social.seattle.wa.us

                          @ari does
                          ARRAY=("stuff here"
                          "stuff 2 here"
                          "stuff 3 here")

                          not work?
                          Sorry if misunderstanding

                          ari@fedi.arimelody.spaceA This user is from outside of this forum
                          ari@fedi.arimelody.spaceA This user is from outside of this forum
                          ari@fedi.arimelody.space
                          wrote last edited by
                          #19

                          @OwOday unfortunately not statically declaring- i'm pulling in filenames which have spaces in them, either from find or a glob

                          1 Reply Last reply
                          0
                          • A avincentinspace@furry.engineer

                            @ari i have never understood people who write actual programs in shell. there are SO many better languages

                            ari@fedi.arimelody.spaceA This user is from outside of this forum
                            ari@fedi.arimelody.spaceA This user is from outside of this forum
                            ari@fedi.arimelody.space
                            wrote last edited by
                            #20

                            @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.)

                            ari@fedi.arimelody.spaceA 1 Reply Last reply
                            0
                            • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space

                              @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.)

                              ari@fedi.arimelody.spaceA This user is from outside of this forum
                              ari@fedi.arimelody.spaceA This user is from outside of this forum
                              ari@fedi.arimelody.space
                              wrote last edited by
                              #21

                              @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

                              1 Reply Last reply
                              0
                              • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space
                                This post did not contain any content.
                                privateger@plasmatrap.comP This user is from outside of this forum
                                privateger@plasmatrap.comP This user is from outside of this forum
                                privateger@plasmatrap.com
                                wrote last edited by
                                #22

                                @ari@fedi.arimelody.space real!!! deletes your home directory

                                1 Reply Last reply
                                0
                                • ari@fedi.arimelody.spaceA ari@fedi.arimelody.space
                                  This post did not contain any content.
                                  T This user is from outside of this forum
                                  T This user is from outside of this forum
                                  tori@brain.worm.pink
                                  wrote last edited by
                                  #23
                                  @ari bashphobic
                                  I love bash
                                  1 Reply Last reply
                                  1
                                  0
                                  • R relay@relay.mycrowd.ca shared this topic
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups