How to write a 'tar' commandlemmy.sdf.orgimage sebastiancarlos ( @sebastiancarlos@lemmy.sdf.org ) Linux@lemmy.mlEnglish • 10 months ago message-square108fedilinkarrow-up1547
arrow-up1547imageHow to write a 'tar' commandlemmy.sdf.org sebastiancarlos ( @sebastiancarlos@lemmy.sdf.org ) Linux@lemmy.mlEnglish • 10 months ago message-square108fedilink
minus-square d00phy ( @d00phy@lemmy.ml ) linkfedilink11•10 months agoThe “-“ is often not necessary. I use it as a guide to see how long the person running tar has been using it. Example: tar -xf file.tar == tar xf file.tar
minus-square Fushuan [he/him] ( @fushuan@lemm.ee ) linkfedilinkEnglish5•edit-210 months agoThey are functionally flags though and uniletter flags should be preceded by a ‘-’, so I would still prefer to have the ‘-’ written, because it conforms with the standard.
The “-“ is often not necessary. I use it as a guide to see how long the person running tar has been using it.
Example:
tar -xf file.tar == tar xf file.tar
They are functionally flags though and uniletter flags should be preceded by a ‘-’, so I would still prefer to have the ‘-’ written, because it conforms with the standard.
But muh POSIX