sebastiancarlos@lemmy.sdf.org to Linux@lemmy.mlEnglish · 2 years agoHow to write a 'tar' commandlemmy.sdf.orgimagemessage-square143linkfedilinkarrow-up1776
arrow-up1759imageHow to write a 'tar' commandlemmy.sdf.orgsebastiancarlos@lemmy.sdf.org to Linux@lemmy.mlEnglish · 2 years agomessage-square143linkfedilink
minus-squared00phy@lemmy.mllinkfedilinkarrow-up15arrow-down1·2 years 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-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up5·edit-22 years 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