[ILUG] solaris request

Sergiusz Paprzycki serek at walcz.net
Thu Feb 26 11:29:35 GMT 2009


Pádraig Brady wrote:
> Hi,
> 
> Could someone with an [open]solaris system
> respond with the output from these commands?
> 
> printf "a a b\nz a a\n" | sort -k2,3.0
> printf "a  y\na z\n" | sort -k1,1b
> 

Hi Pádraig,

Here you go:

bash-3.00$ uname -a
SunOS octopus 5.10 Generic_118855-14 i86pc i386 i86pc
bash-3.00$ printf "a a b\nz a a\n" | sort -k2,3.0
z a a
a a b
bash-3.00$ printf "a  y\na z\n" | sort -k1,1b
a  y
a z

Regards,
Sergiusz

-- 
Sergiusz Paprzycki
M: +353 86 128 2483



More information about the ILUG mailing list