chenhz01
3af000e143
hooks: first operand after -- is still the sed script when no script option was given
...
Greptile P1: sedScriptParts stopped at -- and discarded the remaining
operands, so 'sed -- <script>' skipped script collection entirely. GNU sed
4.9 (verified): with no -e/--expression anywhere, the first operand after --
is the script and an s///e in it still executes.
The operands after -- are now collected as positionals, so the existing
first-positional-becomes-script rule applies. Operands after the script stay
file names (data). 2 regression tests pin both sides. Suite: 812/812.
2026-10-11 03:55:27 +08:00
..
2026-07-28 21:32:42 -04:00
2026-09-18 18:42:20 -04:00
2026-10-11 03:55:27 +08:00
2026-03-16 14:31:49 -07:00
2026-09-28 07:07:45 -04:00
2026-09-12 02:59:02 -04:00
2026-07-03 20:40:44 -07:00
2026-09-13 04:55:52 +08:00
2026-10-09 16:10:04 -04:00
2026-10-09 16:10:04 -04:00
2026-04-02 17:33:17 -07:00
2026-07-26 00:04:35 -07:00
2026-05-19 12:51:18 -04:00
2026-06-29 15:54:55 -07:00
2026-08-10 22:33:10 -04:00
2026-09-13 05:08:23 +08:00
2026-05-15 23:18:01 -04:00
2026-02-18 07:15:53 +05:30
2026-10-09 16:16:43 -04:00
2026-09-07 17:57:26 -04:00
2026-09-18 18:42:20 -04:00
2026-09-18 18:42:20 -04:00
2026-10-09 19:10:06 -04:00
2026-10-09 15:59:20 -04:00
2026-10-09 15:59:20 -04:00
2026-10-09 15:59:20 -04:00
2026-10-09 15:59:20 -04:00
2026-09-12 02:59:02 -04:00
2026-10-01 17:50:41 -05:00
2026-05-18 00:47:05 -04:00
2026-05-12 01:13:01 -04:00
2026-09-14 13:24:58 +05:30
2026-06-25 16:47:32 -07:00
2026-06-07 13:01:24 +08:00
2026-09-19 20:56:34 +08:00
2026-08-12 18:36:30 -04:00
2026-07-03 21:10:45 -07:00
2026-07-03 21:10:45 -07:00
2026-05-19 12:51:18 -04:00
2026-09-06 00:01:49 +08:00
2026-07-03 21:10:45 -07:00
2026-08-24 22:26:24 -03:00
2026-09-07 16:26:10 -04:00
2026-08-09 18:15:25 -04:00
2026-07-08 17:12:48 -04:00
2026-09-02 19:55:26 -04:00
2026-09-18 18:42:20 -04:00
2026-03-16 14:31:49 -07:00
2026-10-09 15:59:20 -04:00
2026-09-21 14:33:19 -04:00
2026-06-07 13:25:39 +08:00
2026-05-28 07:45:46 -04:00
2026-07-20 16:21:03 -04:00
2026-07-28 21:32:42 -04:00
2026-03-16 14:31:49 -07:00
2026-09-18 18:42:20 -04:00
2026-09-18 18:42:20 -04:00
2026-09-05 16:58:17 -07:00
2026-08-28 16:08:19 -04:00
2026-09-12 02:59:02 -04:00
2026-10-09 16:10:04 -04:00
2026-10-09 15:59:20 -04:00
2026-08-29 14:55:14 -04:00
2026-08-11 14:15:57 -04:00