Tag Info

New answers tagged

1

As @Costas pointed out, you are using globbing patterns whereas sed uses BRE regular expressions (or ERE if using sed's -r option). Your command should resemble something like this : sed -i -r 's/-[0-9]+x[0-9]+\.jpg/.jpg/g' myfile.sql Explanation : [0-9] means "any number" (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) + means "one or more of the previous atom" (The ...



Top 50 recent answers are included