Skip to main content
6 events
when toggle format what by license comment
Oct 19, 2015 at 8:52 comment added Stéphane Chazelas Your ${FILE/@(.*)/_something\1} would be like ${FILE/./_something.} and change the first occurrence of .. You'd need ${FILE/%.*([^.])/_something\0} or ${FILE/@(*)./\1_something.} to match on the last one like ${FILE%.*} would.
May 11, 2012 at 16:21 history edited Mikel CC BY-SA 3.0
add example for using ksh93 backreference
May 11, 2012 at 9:51 comment added rush I got information about back reference and nested substitution. Thank you.
May 11, 2012 at 9:50 vote accept rush
May 11, 2012 at 8:56 history edited Mikel CC BY-SA 3.0
added 119 characters in body
May 11, 2012 at 8:45 history answered Mikel CC BY-SA 3.0