sed: -e expression #1, char 15: unterminated `s' command
-
This error just means there a syntax error, line one, and character 15, the unterminated "s", mean there no trailing slash.
$ sed -e 's/drive/gardens' data_file sed: -e expression #1, char 15: unterminated `s' command
Adding the trailing "/", changes everything
$ sed -e 's/drive/gardens/' data_file hamster, furry little creature, 2 hamster gardens donkey, back breaking helper, 8 donkey jacket road horse, top racer, 12 Horse throat Lane badger, night rider, 15 Badger Close cow, love eating grass all day, 16 Moofield Aveune sheep, can you take this coat off, 6 Wool road
© Lightnetics 2024