I am looking for a way to get the output of FullForm in Command Line under Linux (Debian) using -noprompt argument.
What I have :
What I want :
Plus[a, Times[b, c]].
I can have it like this (without -noprompt but I get useless text)
# echo 'FullForm[a+b*c]' | math Mathematica blah blah Out//FullForm= Plus[a, Times[b, c]]
Usually to avoid the "blah blah" I use "-noprompt" but here is what I get with -noprompt :
# echo 'FullForm[a+b*c]' | math -noprompt FullForm[a + b*c]
So my question is How to get the Correct Output ? (with noprompt)
Any advice ?