octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58780] 'source' throws unexpected syntax erro


From: Rik
Subject: [Octave-bug-tracker] [bug #58780] 'source' throws unexpected syntax error.
Date: Fri, 30 Oct 2020 16:59:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36

Follow-up Comment #9, bug #58780 (project octave):

Just a remark, "source" is the more normal keyword in UNIX for reading
commands from a file.  Even if the functionality becomes identical to run.m it
might still be nice to have the alias.  For example, we keep "chdir" as an
alias for "cd" because people like both.

Second, there are differences.  The "source" command can take an additional
CONTEXT option of "base" or "caller" to determine where the script is
executed.  This is not part of run.m

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58780>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]