[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Looping a script



On Sun, 18 Feb 2001, Ashley M. Kirchner wrote:

> 
>     a) If I do 'ls -AQU *.mp3', the result is always sorted.
>        However, if I just do 'ls -AQU' it's not sorted.
> 

The shell (bash?) is sorting them for you.

Type:

	echo ls -AQU *.mp3

to see what the command looks like after the shell expands
'*.mp3' filename arg.


-- 
John Darrah (u05192)	| Dept: N/C Programming
Giddens Industries	| Ph: (425) 353-0405 #229
PO box 3190		| Ph: (206) 767-4212 #229
Everett  WA    98203	| Fx: (206) 764-9639





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]