cvs commit: src/bin/sh options.c

Peter Avalos pavalos at
Sat Jan 13 20:42:39 PST 2007

pavalos     2007/01/13 20:41:32 PST

DragonFly src repository

  Modified files:
    bin/sh               options.c 
  Include disabled options in the output of 'set +o'.  POSIX says the output of
  set +o can be used to reload previous settings, for this to work disabled
  options must be printed as well or otherwise options that were set in the mean
  time won't be turned off.
  Change /bin/sh so *it* implements the processing needed for scripts to
  work as expected when they have a "shebang line" of:
       #!/bin/sh -- # -*- perl -*- -p
  Obtained-from:  FreeBSD
  Revision  Changes    Path
  1.7       +71 -23    src/bin/sh/options.c

More information about the Commits mailing list