cvs commit: src/bin/sh main.c

Stefan Farfeleder stefanf at
Sun Apr 2 18:51:33 UTC 2006

stefanf     2006-04-02 18:51:32 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               main.c 
  Issue an error when . (dot) is invoked without a filename.  The synopsis
  is just ". file" according to POSIX, however many other shells allow
  arguments to be passed after the file.  For compatibility (we even use that
  feature in buildworld) additional arguments are not considered to be an
  error, even though this shell does not do anything with the arguments at all.
  Revision  Changes    Path
  1.28      +10 -8     src/bin/sh/main.c

More information about the cvs-src mailing list