DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux get part of string
number=$(echo $filename | egrep -o '[[:digit:]]{5}' | head -n1)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#linux
#part
#string
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit