console : the tokenizer remove the \n that the line can provide

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5550 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-09-27 15:35:15 +00:00
parent 0bd11eeda6
commit 834fd3f48c

View File

@@ -937,7 +937,7 @@ class console
// {{{
{
$tokens = array ();
$token = strtok ($line,' ');
$token = strtok (trim ($line),' ');
while ($token)
{
// find double quoted tokens