xephixus.com Blog

Using sed to backslash forward slashes

Using sed to backslash forward slashes

I needed to extract the devices from the /etc/fstab so I could feed them into a sed replacement. Of course I needed to backslash the forward slashes in the device path before I could...