▲ 63 ▼ How do you shell expand your variables and why? (lemmy.world) submitted 2 years ago by zephyr@lemmy.world to c/programming@programming.dev 29 comments fedilink hide all child comments
[–] monsterpiece42@reddthat.com 1 point 2 years ago (3 children) What should I search to better understand what is written here? Don't mind learning myself, just looking for the correct keywords. Thanks! permalink fedilink source parent hideshow 6 child comments replies: [–] oneiros@lemmy.blahaj.zone 2 points 2 years ago (1 child) This comment is a joke and you wouldn't want to do it like that in reality, but here are some related keywords you could look up: "Unix cat", "Unix pipeline", "grep", "output redirection", "command substitution". permalink fedilink source parent hideshow 2 child comments replies: [–] monsterpiece42@reddthat.com 1 point 2 years ago Perfect, I have some light reading for the evening! permalink fedilink source parent [–] marcos@lemmy.world 2 points 2 years ago (1 child) Read the Bash manual. That one patter on the GP is called "Command Substitution", you can search for it. permalink fedilink source parent hideshow 2 child comments replies: [–] monsterpiece42@reddthat.com 1 point 2 years ago Thanks! permalink fedilink source parent [–] priapus@sh.itjust.works 1 point 2 years ago ExplainShell should help permalink fedilink source parent
[–] oneiros@lemmy.blahaj.zone 2 points 2 years ago (1 child) This comment is a joke and you wouldn't want to do it like that in reality, but here are some related keywords you could look up: "Unix cat", "Unix pipeline", "grep", "output redirection", "command substitution". permalink fedilink source parent hideshow 2 child comments replies: [–] monsterpiece42@reddthat.com 1 point 2 years ago Perfect, I have some light reading for the evening! permalink fedilink source parent
[–] monsterpiece42@reddthat.com 1 point 2 years ago Perfect, I have some light reading for the evening! permalink fedilink source parent
[–] marcos@lemmy.world 2 points 2 years ago (1 child) Read the Bash manual. That one patter on the GP is called "Command Substitution", you can search for it. permalink fedilink source parent hideshow 2 child comments replies: [–] monsterpiece42@reddthat.com 1 point 2 years ago Thanks! permalink fedilink source parent
[–] priapus@sh.itjust.works 1 point 2 years ago ExplainShell should help permalink fedilink source parent