Commit graph

14 commits

Author SHA1 Message Date
2c5d5abdc4
quote marking: no quotes lead to marker filled with spaces 2025-03-06 17:20:52 +01:00
695596fde2
wordsplit flags: also set W_HASDOLLAR if dollar is found in double quotes
Fixes #15
2025-02-24 14:51:26 +01:00
abf37eb7f5
wordsplit: set quote and dquote flags 2025-02-20 15:39:03 +01:00
ac8475c71d
wordsplit: implemet rule for variable substitution detection (rule 5) 2025-02-20 15:00:48 +01:00
f92763e479
wordsplit: handle operators 2025-02-20 15:00:32 +01:00
558ddb4096
wordsplit: return error for unclosed quotes 2025-02-20 15:00:32 +01:00
7806043a98
wordsplit: ensure that mixed broken quotes are handled correctly 2025-02-20 15:00:32 +01:00
452d35acdf
wordsplit: handle mixed quotes 2025-02-20 15:00:32 +01:00
1676cf6696
wordsplit: handle double quotes 2025-02-20 15:00:32 +01:00
5276aba278
wordsplit: handle single quotes 2025-02-20 15:00:32 +01:00
4171a3d07b
wordsplit: handle multiple words 2025-02-20 15:00:11 +01:00
00fd2380cf
wordsplit: handle a sigle word separated surrounded by blanks
a blank here is as defined by POSIX
https://pubs.opengroup.org/onlinepubs/9699919799/
section 7.3.1
2025-02-20 15:00:11 +01:00
8defbf4d13
wordsplit: handle single word with spaces before or after 2025-02-20 14:55:29 +01:00
a083800506
word splitting: a single word is not split
Sorry this commit is a bit big, lots of groudwork is being established here
2025-02-20 14:55:29 +01:00