On 11/14/11 17:41, Ivan Andrus wrote:
> On Nov 14, 2011, at 8:09 PM, Michael Orlitzky wrote:
>> On 11/14/11 08:34, Keshav Kini wrote:
>>> Will this work for uncompressed SPKGs too?
>>>
>>
>> Not without modification. If you can't rely on the extension to tell you
>> what's in the file, you'll have to use something else.
> 
> Don't tell anyone that I showed you how to do this but if you change it to 
> 
> ;; Add the "spkg" extension to the list of stuff we want to
> ;; decompress automatically (with bzip2).
> (add-to-list 'jka-compr-compression-info-list
>              ["\\.spkg\\'"
>               "zipping"   "bzip2"             ()
>               "unzipping" "(bzip2 -d || cat)" ()
>               nil t "BZh"])

What a clever non-useless useless use of cat =)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to