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 (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. we do a little shell scripting

we do a little shell scripting

Scheduled Pinned Locked Moved Uncategorized
27 Posts 3 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.
  • adzuki-11C adzuki-11
    @fiore i just dont get why

    its your system. if you really need to you can package the shell yourself. sure its nice if others can copy things from your dotfiles easily but realistically i just dont think thats a common thing
    φF This user is from outside of this forum
    φF This user is from outside of this forum
    φ
    wrote last edited by
    #12

    @coolbean i just like to reduce the dependencies i have on stuff , yknow

    like . the shell is ok . its fine . its not pretty , but . its functional . i can live w it

    φF 1 Reply Last reply
    0
    • φF φ

      @coolbean i just like to reduce the dependencies i have on stuff , yknow

      like . the shell is ok . its fine . its not pretty , but . its functional . i can live w it

      φF This user is from outside of this forum
      φF This user is from outside of this forum
      φ
      wrote last edited by
      #13

      @coolbean also remember : i LOVE complaining about shit

      adzuki-11C 1 Reply Last reply
      0
      • φF φ

        @coolbean also remember : i LOVE complaining about shit

        adzuki-11C This user is from outside of this forum
        adzuki-11C This user is from outside of this forum
        adzuki-11
        wrote last edited by
        #14
        @fiore oh i mightve just not been escaping the % and # correctly. i have to put a singlequote before those to escape them
        adzuki-11C 1 Reply Last reply
        0
        • adzuki-11C adzuki-11
          @fiore oh i mightve just not been escaping the % and # correctly. i have to put a singlequote before those to escape them
          adzuki-11C This user is from outside of this forum
          adzuki-11C This user is from outside of this forum
          adzuki-11
          wrote last edited by
          #15
          @fiore friggin ^ to concatenate ' to escape and then the character. this is stupid
          adzuki-11C 1 Reply Last reply
          0
          • adzuki-11C adzuki-11
            @fiore friggin ^ to concatenate ' to escape and then the character. this is stupid
            adzuki-11C This user is from outside of this forum
            adzuki-11C This user is from outside of this forum
            adzuki-11
            wrote last edited by
            #16
            @fiore anyway now the syntax error is on the last } line. fascinating
            φF 1 Reply Last reply
            0
            • adzuki-11C adzuki-11
              @fiore anyway now the syntax error is on the last } line. fascinating
              φF This user is from outside of this forum
              φF This user is from outside of this forum
              φ
              wrote last edited by
              #17

              @coolbean whack-a-mole

              adzuki-11C 1 Reply Last reply
              0
              • φF φ

                @coolbean whack-a-mole

                adzuki-11C This user is from outside of this forum
                adzuki-11C This user is from outside of this forum
                adzuki-11
                wrote last edited by
                #18
                @fiore this would be so much easier of they just gave me a fucking switch statement oh my fucking god
                φF 1 Reply Last reply
                0
                • adzuki-11C adzuki-11
                  @fiore this would be so much easier of they just gave me a fucking switch statement oh my fucking god
                  φF This user is from outside of this forum
                  φF This user is from outside of this forum
                  φ
                  wrote last edited by
                  #19

                  @coolbean rc(1) - a shell doesnt have that ???????? downgrade moment ??

                  adzuki-11C 1 Reply Last reply
                  0
                  • φF φ

                    @coolbean rc(1) - a shell doesnt have that ???????? downgrade moment ??

                    adzuki-11C This user is from outside of this forum
                    adzuki-11C This user is from outside of this forum
                    adzuki-11
                    wrote last edited by
                    #20
                    @fiore theres a github discussion about adding a switch statement and noones really opposed to it since itd simplify things when enumerating a variable but this isnt even what im doing im evaluating 2 variables to make for ultimately 3 cases
                    φF 1 Reply Last reply
                    0
                    • adzuki-11C adzuki-11
                      @fiore theres a github discussion about adding a switch statement and noones really opposed to it since itd simplify things when enumerating a variable but this isnt even what im doing im evaluating 2 variables to make for ultimately 3 cases
                      φF This user is from outside of this forum
                      φF This user is from outside of this forum
                      φ
                      wrote last edited by
                      #21

                      @coolbean imean its crazy tho , i think when pike made rc , the bourne shell already had case statements ?

                      adzuki-11C 1 Reply Last reply
                      0
                      • φF φ

                        @coolbean imean its crazy tho , i think when pike made rc , the bourne shell already had case statements ?

                        adzuki-11C This user is from outside of this forum
                        adzuki-11C This user is from outside of this forum
                        adzuki-11
                        wrote last edited by
                        #22
                        @fiore rc removed a lot of things. the goal was simplifying things to improve composeability
                        adzuki-11C 1 Reply Last reply
                        0
                        • adzuki-11C adzuki-11
                          @fiore rc removed a lot of things. the goal was simplifying things to improve composeability
                          adzuki-11C This user is from outside of this forum
                          adzuki-11C This user is from outside of this forum
                          adzuki-11
                          wrote last edited by
                          #23
                          @fiore and honestly the way im approaching this is kinda elegant. first checking if the user is root then checking if the user is not connected via ssh and then knowing the user is not root and connected via ssh so both host and user need to be displayed
                          adzuki-11C 1 Reply Last reply
                          0
                          • adzuki-11C adzuki-11
                            @fiore and honestly the way im approaching this is kinda elegant. first checking if the user is root then checking if the user is not connected via ssh and then knowing the user is not root and connected via ssh so both host and user need to be displayed
                            adzuki-11C This user is from outside of this forum
                            adzuki-11C This user is from outside of this forum
                            adzuki-11
                            wrote last edited by
                            #24
                            @fiore i keep approaching it differently which is funny

                            also fun fact but the default prompt for es is ; because it means you can copy the entire terminal window and rerun your commands
                            φF 1 Reply Last reply
                            0
                            • adzuki-11C adzuki-11
                              @fiore i keep approaching it differently which is funny

                              also fun fact but the default prompt for es is ; because it means you can copy the entire terminal window and rerun your commands
                              φF This user is from outside of this forum
                              φF This user is from outside of this forum
                              φ
                              wrote last edited by
                              #25

                              @coolbean iknow !! someone told me a while back .. fascinating ithink

                              Avery (She/Her)S 1 Reply Last reply
                              0
                              • φF φ

                                @coolbean iknow !! someone told me a while back .. fascinating ithink

                                Avery (She/Her)S This user is from outside of this forum
                                Avery (She/Her)S This user is from outside of this forum
                                Avery (She/Her)
                                wrote last edited by
                                #26

                                @fiore @coolbean nonzero chance that was me talking about rc... idk tho

                                φF 1 Reply Last reply
                                0
                                • Avery (She/Her)S Avery (She/Her)

                                  @fiore @coolbean nonzero chance that was me talking about rc... idk tho

                                  φF This user is from outside of this forum
                                  φF This user is from outside of this forum
                                  φ
                                  wrote last edited by
                                  #27

                                  @shitpostalotl@axfedi.derg.rest @coolbean prolly

                                  1 Reply Last reply
                                  1
                                  0
                                  • R AodeRelay shared this topic
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

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