[erlang-questions] help me to read proper input from commandline erl

Fri Feb 21 12:05:53 CET 2014

hi all,

      while get runtime command prompt variable via init:get_argument(name).

    i want to get a list . but in that " " are added while getting & assign
to a varaible

% erl -mylist [1,2,3,4]

> {ok,[[List|_]|_]} = init:get_argument(mylist).

but expecting O/p as


please help , because of this double qutoes am not able to do Head & Tail .

View this message in context: http://erlang.2086793.n4.nabble.com/help-me-to-read-proper-input-from-commandline-erl-tp4655367.html
Sent from the Erlang Questions mailing list archive at Nabble.com.

More information about the erlang-questions mailing list