Sep 1, 2004 #1 jmarkus Technical User Oct 15, 2002 124 CA I have a file name that looks like "BALL_JOINT-213029.csv" I want to decrement the number in the filename by 1, i.e. "BALL_JOINT-213028.csv" Can I do this using sed or regular UNIX scripting? Thanks, Jeff
I have a file name that looks like "BALL_JOINT-213029.csv" I want to decrement the number in the filename by 1, i.e. "BALL_JOINT-213028.csv" Can I do this using sed or regular UNIX scripting? Thanks, Jeff
Sep 1, 2004 Thread starter #2 jmarkus Technical User Oct 15, 2002 124 CA Oops, nevermind. I figured out I need to used double parentheses. Jeff Upvote 0 Downvote