DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
sed subgroup pattern replace
sed -E "s/(.*).png//full/path/1/g" <<< "lolsed_bulsh.png" # output is # /full/path/lolsed_bulsh
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#sed
#subgroup
#pattern
#replace
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit