kali_fornication@lemmy.world to linuxmemes@lemmy.world · 2 days agofound a linuxbro out in the wildlemmy.worldimagemessage-square23fedilinkarrow-up1195arrow-down114
arrow-up1181arrow-down1imagefound a linuxbro out in the wildlemmy.worldkali_fornication@lemmy.world to linuxmemes@lemmy.world · 2 days agomessage-square23fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up5·2 days agomy point is that, usually, just an ls will put more than one file per line
minus-squareDefederateLemmyMl@feddit.nllinkfedilinkarrow-up3·22 hours agoNot when the output is a pipe.
minus-squareChaosMonkey@lemmy.dbzer0.comlinkfedilinkarrow-up13·2 days 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.
my point is that, usually, just an
lswill put more than one file per lineNot when the output is a pipe.
It 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.