Bug 1315 - ls(1)
Summary: ls(1)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 2.1.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dag-Erling Smørgrav
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1996-06-12 13:10 UTC by Zahemszky Gabor
Modified: 1998-07-15 10:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zahemszky Gabor 1996-06-12 13:10:04 UTC

    
Comment 1 asami 1996-06-13 08:38:48 UTC
 * 	b) missing an option (eg -S) to sort by size

Try

ls -s | sort -n

Satoshi "now you know why it's also missing an option to sort by inode #" Asami
Comment 2 Joerg Wunsch 1996-06-14 08:33:10 UTC
As Zahemszky Gabor wrote:

> 	a) the ls command's -q option has not got an opposite - so I cannot
> 	force ls to output the correct character to the terminal (I got a ?
> 	instead)

ls -C | cat

> 	b) missing an option (eg -S) to sort by size

ls -s | sort -n | rs

(Likewise for sorting by inode or by owner.)

> 	c) missing an option (eg -b as in AT&T Unices) to force printing
> 	non-printable characters as octal \xyz format. - and as I see, ls

I've already thought about adding this one (and will keep the PR open
for just this).

> 	doesn't know LANG, and LC_CTYPE (so I haven't got accented
> 	characters in the filenames)

Almost no utility in 2.1R did care for LC_CTYPE unless you have been
setting the environmental variable ENABLE_STARTUP_LOCALE.  This has
been fixed in the current development sources.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Comment 3 Wolfram Schneider freebsd_committer freebsd_triage 1996-09-18 22:43:51 UTC
State Changed
From-To: open->analyzed

analyzed by joerg. 
Comment 4 Poul-Henning Kamp freebsd_committer freebsd_triage 1998-04-13 10:19:40 UTC
State Changed
From-To: analyzed->suspended

->suspended 
Comment 5 Dag-Erling Smørgrav freebsd_committer freebsd_triage 1998-04-23 16:59:31 UTC
State Changed
From-To: suspended->feedback

Fixed in -current, awaiting reactions from current and stable users. 


Comment 6 Dag-Erling Smørgrav freebsd_committer freebsd_triage 1998-04-23 16:59:31 UTC
Responsible Changed
From-To: freebsd-bugs->des

I'm working on it. 
Comment 7 Dag-Erling Smørgrav freebsd_committer freebsd_triage 1998-07-15 10:50:54 UTC
State Changed
From-To: feedback->closed

MFCed by Jordan.