Use BASH "replace" instead of rev | cut