Vladimir Dronnikov schrieb: > Hi, list! > > I used to lay upon "ls /some/dir" dumps _just_ the content of > /some/dir. Now it prepends the output with "total xxxx" line _by > default_, though AFAIK shouldn't. > Is such a behavior right? > > To track the issue: the line > --- > * 1. ls -l of a directory doesn't give "total <blocks>" header > --- > exists in KNOWN BUGS comment in ls.c 1.15, and disappeared after. >
this behavier is correct e.g. gnu-ls says: ls -l /proc/ total 0 dr-xr-xr-x 7 root root 0 10. Okt 15:50 1 dr-xr-xr-x 7 root root 0 10. Okt 15:50 10 use " sed 1d " to get rid of it. re, wh _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
