Andreas Nordal
62b76b26b4
Reinstate failglob behaviour for most commands
...
Expand globs to zero arguments (nullglob) only for set, for and count.
The warning about failing globs, and setting the accompanying $status,
now happens regardless of mode, interactive or not.
It is assumed that the above commands are the common cases where
nullglob behaviour is desirable.
More importantly, doing this with `set` is a real feature enabler,
since the resulting empty array can be passed on to any command.
The previous behaviour was actually all nullglob (since commit
cab115c8b9933ae7db9412c66d452c0ccb2d7152), but this was undocumented;
the failglob warning was still printed in interactive mode,
and the documentation was bragging about failglob behaviour.
2016-02-15 13:13:28 -08:00
..
2016-02-13 17:08:19 +01:00
2015-09-23 13:28:32 +02:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2016-02-04 14:18:12 -08:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2015-09-20 15:25:13 +02:00
2014-09-03 15:10:53 +01:00
2015-09-11 21:05:55 +02:00
2014-09-07 17:35:19 +01:00
2016-01-01 19:54:21 -08:00
2014-10-26 19:02:03 +08:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:27 +01:00
2015-08-17 20:27:13 +08:00
2014-09-03 14:43:26 +01:00
2015-09-11 11:33:04 +02:00
2014-10-01 15:30:36 -07:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2015-03-18 16:22:29 -04:00
2014-09-29 13:39:35 -07:00
2015-11-10 23:54:28 +03:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-12-24 13:05:31 -08:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:24 +01:00
2015-12-26 01:48:09 -05:00
2014-09-03 14:43:27 +01:00
2015-02-06 07:48:47 +01:00
2014-09-07 17:43:58 +01:00
2015-09-02 13:55:59 +02:00
2015-09-11 11:33:04 +02:00
2015-05-17 14:45:54 -04:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 15:10:53 +01:00
2015-09-11 11:33:04 +02:00
2016-02-15 13:13:28 -08:00
2015-02-01 18:18:34 +08:00
2014-09-03 14:43:27 +01:00
2015-09-21 16:41:25 -07:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:26 +01:00
2015-07-23 14:26:38 +08:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2016-01-28 19:34:51 -08:00
2015-12-17 15:25:13 +01:00
2015-11-14 13:15:30 +01:00
2015-09-11 11:33:04 +02:00
2014-09-03 14:43:25 +01:00
2016-01-07 20:57:34 -08:00
2014-09-21 21:10:07 -07:00
2014-09-03 14:43:26 +01:00
2016-01-14 22:34:25 -08:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:27 +01:00
2016-01-28 19:34:51 -08:00
2015-09-06 15:03:43 +02:00
2014-09-03 14:43:26 +01:00
2014-12-28 19:03:26 +08:00
2014-09-03 14:43:27 +01:00
2014-09-29 13:39:35 -07:00
2015-12-24 11:19:23 +01:00
2014-09-03 15:10:53 +01:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:26 +01:00
2014-09-23 12:14:20 +01:00
2014-09-03 14:43:24 +01:00
2014-09-03 14:43:24 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00