remove argument limits to ls

2003-07-04 Thread Dan Jacobson
ls -t has a limit on how many arguments one can give it.
xargs cannot help as sorting requires all args considered together.
yes, find -printf|sort|cut solutions are possible, but aren't argument
limits old fashioned?


___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils


Re: subtle sort bug?

2003-07-04 Thread gregory mott
On Thu, 2003-07-03 at 15:07, gregory mott wrote:
 i fail to understand.  i've used the same stock definitions:
 # ---  /usr/share/i18n/locales/g  ---
 # build with:
 # localedef -i g -c g

what i had missed was localedef -f
now i've got it



___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils


Bug in expand command.

2003-07-04 Thread fzottola
This is related to the expand comand's behaviour when you use it to
change tab
to spaces, and specifying two spaces per tab.

The point is, the spaces inserted for a 2 spaces/tab command are
actually the same as having specified 1 space/tab. And the difference is
observed when you specify 3 spaces/tab command, that expand performs right.

Comands issued to see the bug:

expand -t1 hints.txt | cut -b1-9
expand -t2 hints.txt | cut -b1-9
expand -t3 hints.txt | cut -b1-9

Attached are the files for testing the bug: hints.txt is a plain text
file, and expand-bug.txt is
a comand line record, so you can see what I saw.

I am using kernel 2.4.8-20 on a RH9.0 AMD K6/2 box.

Thanks for all.

Felipe Zottola Diz.
Spain.



012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
1.  To configure Real-Time Windows Target you must type 'rtwintgt -setup' in a 
MATLAB command window
2.  The MATLAB Web Server has been installed on your system as a  Windows NT 
service.
3.  After installation, you must reboot your system to start it.
4.  The service starts automatically at system boot.
5.  To remove it, uninstall the product.
6.  Refer to the documentation for more information.

;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

[EMAIL PROTECTED] tmp]# cat hints.txt
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
1.  To configure Real-Time Windows Target you must type 'rtwintgt -setup' in a 
MATLAB command window
2.  The MATLAB Web Server has been installed on your system as a  Windows NT 
service.
3.  After installation, you must reboot your system to start it.
4.  The service starts automatically at system boot.
5.  To remove it, uninstall the product.
6.  Refer to the documentation for more information.
 
[EMAIL PROTECTED] tmp]# expand -t1 hints.txt | cut -b1-9
012345678
1.  To co
2.  The M
3.  After
4.  The s
5.  To re
6.  Refer
 
[EMAIL PROTECTED] tmp]# expand -t2 hints.txt | cut -b1-9
012345678
1.  To co
2.  The M
3.  After
4.  The s
5.  To re
6.  Refer
 
[EMAIL PROTECTED] tmp]# expand -t3 hints.txt | cut -b1-9
012345678
1.To
2.The
3.Aft
4.The
5.To
6.Ref
___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils


Re: subtle sort bug?

2003-07-04 Thread Bob Proulx
Paul Eggert wrote:
 gregory mott writes:
  can you/anyone give me a clue?
 
 You might try reading the GNU C library manual on locales.
 http://www.gnu.org/manual/glibc-2.2.5/html_node/Locales.html 
 Sorry, I don't use Red Hat, so you'll need to consult a Red Hat expert
 for details specific to your system.

This may also be installed with glibc and is probably placed here on
GNU systems at this next location.  At least that is where it is
installed on my machine as part of the glibc-doc package.  I am
running Debian GNU/Linux.  Apply local adjustments as needed for your
machine.

  /usr/share/doc/glibc-doc/html/index.html

In addition to the glibc documentation the online standards docs are
also useful references.

  http://www.unix-systems.org/single_unix_specification_v2/
  http://www.opengroup.org/onlinepubs/007908799/xbd/locale.html

Since I had just looked up the docs myself I thought I might as well
share the information with the group.

Bob


___
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils