kali_fornication@lemmy.world to linuxmemes@lemmy.world · 7 months agofound a linuxbro out in the wildlemmy.worldimagemessage-square23linkfedilinkarrow-up1202arrow-down115
arrow-up1187arrow-down1imagefound a linuxbro out in the wildlemmy.worldkali_fornication@lemmy.world to linuxmemes@lemmy.world · 7 months agomessage-square23linkfedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up5·7 months agomy point is that, usually, just an ls will put more than one file per line
minus-squareChaosMonkey@lemmy.dbzer0.comlinkfedilinkarrow-up14·7 months agoIt does detect the output is being piped though, and defaults to the -1 option in this case, which means print only filenames, one per line. The only issue would be filenames containing newline characters.
minus-squareDefederateLemmyMl@feddit.nllinkfedilinkarrow-up3arrow-down1·7 months agoNot when the output is a pipe.
my point is that, usually, just an
lswill put more than one file per lineIt does detect the output is being piped though, and defaults to the
-1option in this case, which means print only filenames, one per line. The only issue would be filenames containing newline characters.Not when the output is a pipe.