[erammud@eussjlxxen210 ~/programs/python/rewrite_tree]:sort --version

sort (GNU coreutils) 6.12

Copyright (C) 2008 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

 

Written by Mike Haertel and Paul Eggert.

 

 

 

cat 3.log

l.c

lD.h

l.h

sort 3.log

l.c

lD.h

l.h

 

Expected output is

l.c

l.h

lD.h

 

 

Regards

Ramesh