Files
thefuck/tests
Alexander a5c675cdea Add shell AST core with pos-splice round-trip
parse() turns a script into pipeline command segments via bashlex,
keeping byte-true char offsets for every word (quotes included as
typed, redirects and env assignments excluded from words), and
splice() rebuilds a corrected script from (start, end, text)
replacements applied right-to-left. When bashlex is missing or
rejects the script, a flat split(' ') segment keeps the old view.
2026-09-13 20:39:08 +02:00
..
2015-04-25 03:13:57 +02:00
2020-11-03 18:29:28 +01:00
2017-08-26 06:16:51 +02:00