anchor.diff:      {Eval_1,Bs0,Ds0,Prompt} = prompt(N, Eval_0, Bs00, RT, Ds00),
       {Res,Eval0} = get_command(Prompt, Eval_1, Bs0, RT, Ds0),
       case Res of 
  -	{ok,Es0,_EndLine} ->
  +	{ok,Es0} ->
               case expand_hist(Es0, N) of
                   {ok,Es} ->
                       {V,Eval,Bs,Ds} = shell_cmd(Es, Eval0, Bs0, RT, Ds0, cmd),
  
positive.code: %%
  %% %CopyrightBegin%
  %%
  %% Copyright Ericsson AB 1996-2012. All Rights Reserved.
  %%
  %% The contents of this file are subject to the Erlang Public License,
  %% Version 1.1, (the "License"); you may not use this file except in
  
negative.code: get_command(Prompt, Eval, Bs, RT, Ds) ->
      Parse =
          fun() ->
                  exit(
                    case
                        io:scan_erl_exprs(group_leader(), Prompt, 1, [unicode])
                    of
                        {ok,Toks,_EndPos} ->
                            erl_parse:parse_exprs(Toks);
                        {eof,_EndPos} ->
                            eof;
                        {error,ErrorInfo,_EndPos} ->
                            %% Skip the rest of the line:
                            _ = io:get_line(''),
                            {error,ErrorInfo};
                        Else ->
                            Else
                    end
                  )
          end,
      Pid = spawn_link(Parse),
      get_command1(Pid, Eval, Bs, RT, Ds).
  