From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,bcce8fba79ad8489,start X-Google-Attributes: gidfa528,public From: tru64man@my-deja.com Subject: korn shell Date: 2000/11/14 Message-ID: <8urkfl$2i3$1@nnrp1.deja.com>#1/1 X-Deja-AN: 693495680 X-Http-Proxy: 1.1 x68.deja.com:80 (Squid/1.1.22) for client 208.61.145.214 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 14 15:07:40 2000 GMT X-MyDeja-Info: XMYDJUIDtru64man Newsgroups: comp.unix.tru64 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90) I'm learning Korn here but I promise I will not flood this newsgroup with trivial questions but I'm either lost or I'm an idiot. I'm reading the book "Learning the Korn Shell" by Rosenblatt. On page 98 it indicates a piece of code that I don't understand. sort -nr $1 | head -${2:-10} I know what sort and its options mean, the pipe sign, and the head utility--no problem there. But I don't understand the last part -${2:-10} Could someone explain that part to me in somewhat elementary details? thanks in advance. Untru64Man Sent via Deja.com http://www.deja.com/ Before you buy.