calango@programming.dev to Programmer Humor@programming.dev · 3 days agoWho hasn't typed a risky command? Throw the first stone!programming.devimagemessage-square35linkfedilinkarrow-up1521arrow-down113file-text
arrow-up1508arrow-down1imageWho hasn't typed a risky command? Throw the first stone!programming.devcalango@programming.dev to Programmer Humor@programming.dev · 3 days agomessage-square35linkfedilinkfile-text
minus-squareprettybunnys@piefed.sociallinkfedilinkEnglisharrow-up4·3 days agowell, depending on your shell
minus-squaredb0@lemmy.dbzer0.comlinkfedilinkarrow-up5·3 days agoWhich shell interprets * as everything before extension?
minus-squareprettybunnys@piefed.sociallinkfedilinkEnglisharrow-up7·3 days agoWell I’m not necessarily commenting on the *.* but * will skip .files in bash.
minus-squareprettybunnys@piefed.sociallinkfedilinkEnglisharrow-up2·edit-23 days ago*.* will likely expect a file named *. and then delete any file globbed, but still leave dotfiles. At least in bash. In my shell it would just error at me and then I’d be mad fish doesn’t work like bash in this specific case
well, depending on your shell
Which shell interprets * as everything before extension?
Well I’m not necessarily commenting on the
*.*but*will skip .files in bash.I think *. * also skips them
*.*will likely expect a file named*.and then delete any file globbed, but still leave dotfiles. At least in bash.In my shell it would just error at me and then I’d be mad
fishdoesn’t work likebashin this specific case