ridiculousfish 1680b741b2 Make while loops evaluate to the last executed command status
A while loop now evaluates to the last executed command in the body, or
zero if the loop body is empty. This matches POSIX semantics.

Add a bunch of tricky tests.

See #4982
2019-01-20 16:37:20 -08:00
..
2018-09-30 16:54:56 +02:00
2018-09-30 16:54:56 +02:00
2018-09-30 16:54:56 +02:00
2019-01-16 12:01:00 +01:00
2018-11-28 06:27:21 -08:00
2016-12-19 17:44:54 -08:00
2018-11-28 06:27:21 -08:00
2018-11-13 21:54:41 +08:00
2018-04-01 13:48:21 -07:00
2018-12-11 18:23:37 +01:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2017-07-16 15:13:39 -07:00
2014-12-23 15:46:47 -08:00
2017-07-25 12:44:26 -07:00
2019-01-16 12:01:00 +01:00
2017-06-16 21:01:56 -07:00
2018-04-01 13:48:21 -07:00
2018-03-04 15:33:36 -06:00
2017-01-31 22:10:53 -08:00
2017-01-31 22:10:53 -08:00
2018-12-01 13:25:00 -08:00
2018-12-01 13:25:00 -08:00
2018-12-01 13:25:00 -08:00
2017-02-20 18:43:13 -08:00
2016-12-20 16:46:33 -08:00
2019-01-01 14:52:26 +01:00
2018-11-18 22:33:02 +01:00
2018-11-18 22:33:02 +01:00
2018-11-18 22:33:02 +01:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2018-11-28 06:27:21 -08:00
2018-05-06 11:20:15 -07:00
2018-11-15 12:00:56 -06:00
2018-11-15 12:00:56 -06:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2018-11-28 06:27:21 -08:00
2018-03-31 16:54:50 -07:00
2016-11-17 14:53:50 -08:00
2018-04-01 13:48:21 -07:00
2014-07-13 19:11:29 -07:00
2019-01-01 14:52:26 +01:00
2018-11-28 06:27:21 -08:00
2017-07-25 12:44:26 -07:00
2018-09-03 14:13:31 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2018-11-28 06:27:21 -08:00
2018-12-31 19:36:08 -06:00
2017-11-16 10:48:21 -08:00
2017-11-16 10:48:21 -08:00
2018-11-28 06:27:21 -08:00