<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Greetings,<br class=""><br class="">Can you provide some additional information?<br class="">There are other functions in the IO module, e.g. fread/2or get_line/1, that do not need a ‘.’. Have you tried these? Why are they not a good fit?<br class=""><br class=""><br class="">Best Wishes,<br class="">bengt<br class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Feb 2018, at 04:34, Arun <<a href="mailto:arunp@utl.in" class="">arunp@utl.in</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Hi,</p>
I am working on an erlang application which provides a command line
tool to run some basic tests on hardware. The tool work like this,<br class="">
as the application starts, it will prompt a message on the console,
user can give any options present in the console, based on the
options<br class="">
provided by user the application performs the required tests.<br class="">
<br class="">
I am using <b class="">io:read/1</b>, functions to display the message and
read the user provided options. But the problem with this function
is that, user has to give a<br class="">
<b class="">dot</b> at the end. Is it possible to avoid forcing user to put <b class="">dot</b>
at the end of every option he provides, any better function or is
there any better way build<br class="">
a command line tool in erlang.<br class="">
<br class="">
Can someone please help me out in this.<br class="">
<br class="">
Thanks and regards,<br class="">
Arun<br class="">
</div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></body></html>