Re: ! operator
- To: mathgroup at smc.vnet.net
- Subject: [mg55930] Re: ! operator
- From: Jon Harrop <usenet at jdh30.plus.com>
- Date: Sun, 10 Apr 2005 23:07:06 -0400 (EDT)
- References: <d3b18l$sgd$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
DongGook Park wrote: > This behaviour seems quite suspicious? The "!" operator seems to do different things depending on whether it is lexed at the front of a line (excluding whitespace), or parsed as a pre- (Not) or post-fix (Factorial) operator. From the command-line MathKernel on a Linux box: In[1]:= !MemberQ[{1,2,3},3] /bin/bash: line 1: MemberQ[1,3]: command not found So it seems to be using the shell, bash, to execute something. Note that it isn't executing quite what is was given though... :-) -- Dr Jon D Harrop, Flying Frog Consultancy http://www.ffconsultancy.com