DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
using sed to remove part of a line using EOL
$ sed 's|http://||' <<EOL http://url1.com http://url2.com http://url3.com EOL
Source by catonmat.net #
PREVIOUS
NEXT
Tagged:
#sed
#remove
#part
#line
#EOL
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit