Henrik Hørlück Berg
20be990fd9
Port builtins/string to Rust
...
- Add test to verify piped string replace exit code
Ensure fields parsing error messages are the same.
Note: C++ relied upon the value of the parsed value even when `errno` was set,
that is defined behaviour we should not rely on, and cannot easilt be replicated from Rust.
Therefore the Rust version will change the following error behaviour from:
```shell
> string split --fields=a "" abc
string split: Invalid fields value 'a'
> string split --fields=1a "" abc
string split: 1a: invalid integer
```
To:
```shell
> string split --fields=a "" abc
string split: a: invalid integer
> string split --fields=1a "" abc
string split: 1a: invalid integer
```
2023-07-27 22:00:03 -07:00
..
2023-07-27 22:00:03 -07:00
2022-09-26 17:17:17 +02:00
2023-07-27 22:00:03 -07:00
2023-04-16 17:46:56 +02:00
2023-07-23 17:18:36 -07:00
2023-07-23 17:18:36 -07:00
2023-07-23 17:18:36 -07:00
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-04-29 11:02:59 -05:00
2023-04-19 01:03:16 +02:00
2023-04-19 01:03:16 +02:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00
2023-07-23 17:18:36 -07:00
2023-07-23 17:18:36 -07:00
2021-10-01 03:39:43 -07:00
2023-01-14 12:58:20 -08:00
2023-05-07 15:15:56 -07:00
2023-05-07 15:15:56 -07:00
2023-07-23 17:18:36 -07:00
2023-07-23 17:18:36 -07:00
2023-04-19 01:03:16 +02:00
2023-05-07 15:15:56 -07:00
2023-07-23 17:18:36 -07:00
2023-06-19 13:45:54 -07:00
2023-04-29 11:02:59 -05:00
2023-04-19 01:03:16 +02:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00
2023-04-02 15:17:06 +02:00
2023-02-19 15:42:03 -06:00
2023-04-16 17:46:56 +02:00
2023-04-19 01:03:16 +02:00
2023-04-16 17:46:56 +02:00
2023-04-16 17:46:56 +02:00
2023-07-11 12:05:38 -07:00
2023-06-01 23:17:13 +08:00
2023-02-02 19:34:47 -07:00
2023-07-27 22:00:03 -07:00
2021-09-21 18:33:14 -07:00
2023-07-12 18:06:34 +02:00
2023-02-02 19:34:47 -07:00
2023-04-19 01:03:16 +02:00
2023-07-23 17:18:36 -07:00
2023-07-23 17:18:36 -07:00
2023-07-11 12:05:38 -07:00
2022-08-20 23:55:18 -07:00
2023-06-17 12:14:42 -07:00
2023-04-19 22:43:36 +02:00
2022-10-26 16:09:02 +02:00
2022-08-21 15:02:19 -07:00
2023-05-25 16:54:07 -05:00
2023-05-25 16:54:07 -05:00
2023-07-04 18:42:11 +02:00
2023-07-04 18:42:11 +02:00
2023-07-14 20:48:56 +08:00
2023-04-19 22:43:36 +02:00
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-04-29 11:02:59 -05:00
2023-06-04 12:18:19 -07:00
2023-06-04 12:18:19 -07:00
2022-06-19 15:15:17 -07:00
2023-04-21 13:57:29 +02:00
2023-05-07 15:15:56 -07:00
2023-05-07 15:15:56 -07:00
2022-08-21 15:02:19 -07:00
2023-02-25 16:42:45 -06:00
2023-06-17 12:14:42 -07:00
2023-06-17 12:14:42 -07:00
2023-07-04 18:42:11 +02:00
2023-07-04 18:42:11 +02:00
2023-04-19 01:03:16 +02:00
2023-07-23 17:18:36 -07:00
2023-04-19 01:03:16 +02:00
2023-04-16 17:46:56 +02:00
2023-04-19 22:43:36 +02:00
2023-04-19 10:35:22 +02:00
2022-08-20 23:55:18 -07:00
2022-04-09 10:10:44 -07:00
2023-07-23 17:18:36 -07:00
2023-07-23 17:18:36 -07:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00
2023-02-25 16:42:45 -06:00
2023-02-11 12:13:51 -08:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00
2023-07-04 18:42:11 +02:00
2023-05-25 16:54:07 -05:00
2023-04-16 17:21:54 +02:00
2023-02-02 19:34:47 -07:00
2023-07-27 22:00:03 -07:00
2023-07-27 22:00:03 -07:00
2023-04-30 16:22:57 -07:00
2023-04-30 16:22:57 -07:00
2023-03-19 16:13:41 -07:00
2023-02-09 00:37:22 +01:00
2023-02-02 19:34:47 -07:00
2022-09-20 11:58:37 -07:00
2022-09-20 11:58:37 -07:00
2023-02-03 18:55:06 +01:00
2023-03-18 18:53:04 -07:00
2023-04-19 22:43:36 +02:00
2023-04-19 22:43:36 +02:00
2022-12-11 10:26:39 -08:00
2022-12-04 14:48:20 -08:00
2023-07-14 20:20:34 +02:00
2022-08-20 23:55:18 -07:00
2023-07-14 20:48:56 +08:00
2023-07-14 20:48:56 +08:00