Gabriella439 / turtle

Shell programming, Haskell style
BSD 3-Clause "New" or "Revised" License
943 stars 90 forks source link

Restore `collapse` utility #428

Closed Gabriella439 closed 2 years ago

Gabriella439 commented 2 years ago

It is now implemented in terms of the normalise function

This behavior is not the same as the old collapse utility. Specifically, the way they handle .. is different, but I decided that the difference in behavior is an improvement and therefore opted to not try to exactly preserve the old behavior.