p dont think wrote:

Is there a way to set this option in the default settings?




Here's the over-fancy way to do it.

cd /path/to/your/data/dir

# This strips out existing index order preferences
cat default_pref | grep -v order[1-9] > default_pref

# This adds in the ones you like.
cat youruser.pref | grep order[1-9] >> default_pref




Just a quick question -

Doesn't the above > command give you an empty default_pref?


Shouldn't. Why do you say that? He grepped out the order line only.


i'm sure if you write to the file you are reading from you end up with an empty file!
try it...


[EMAIL PROTECTED] root]# echo asdf > myfile
[EMAIL PROTECTED] root]# cat myfile  | grep asdf
asdf
[EMAIL PROTECTED] root]# cat myfile  | grep asdf > myfile
[EMAIL PROTECTED] root]# cat myfile
[EMAIL PROTECTED] root]#







-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to