j...@selmer%echo "2+2;" | sage -singular -q
4

John

On Sun, Nov 21, 2010 at 10:51 AM, John Cremona <john.crem...@gmail.com> wrote:
> j...@selmer%echo "2+2;" | sage -kash -b
>
> kash% 4
> Time: 0.000169 s
>
> (-b suppresses the banner.  I could give a less trivial example if needed!)
>
> John
>
> On Sun, Nov 21, 2010 at 10:24 AM, Dima Pasechnik <dimp...@gmail.com> wrote:
>> for GAP:
>>
>> $ echo "Size(SymmetricGroup(5));" | sage -gap -q
>> 120
>>
>> hope this helps,
>> Dima
>>
>> On Nov 21, 6:52 am, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
>>> For each of the commands mentioned in the subject I would like to have a
>>> one-line command just to check that the command works.  So if you know
>>> any of these commands, please give me a one-liner.
>>>
>>> I am writing a patch at #10300 to check that various Sage command line
>>> options actually work properly.
>>>
>>> Jeroen.
>>
>> --
>> To post to this group, send an email to sage-devel@googlegroups.com
>> To unsubscribe from this group, send an email to 
>> sage-devel+unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/sage-devel
>> URL: http://www.sagemath.org
>>
>

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

Reply via email to