we do a little shell scripting
Uncategorized
27
Posts
3
Posters
0
Views
-
@fiore this would be so much easier of they just gave me a fucking switch statement oh my fucking god
-
@fiore this would be so much easier of they just gave me a fucking switch statement oh my fucking god
@coolbean
rc(1) - a shelldoesnt have that ???????? downgrade moment ?? -
@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
-
@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
@coolbean imean its crazy tho , i think when pike made rc , the bourne shell already had
casestatements ? -
@coolbean imean its crazy tho , i think when pike made rc , the bourne shell already had
casestatements ?@fiore rc removed a lot of things. the goal was simplifying things to improve composeability -
@fiore rc removed a lot of things. the goal was simplifying things to improve composeability@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
-
@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@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 -
@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@coolbean iknow !! someone told me a while back .. fascinating ithink
-
-
@shitpostalotl@axfedi.derg.rest @coolbean prolly
-
R AodeRelay shared this topic