Big Data and Cloud
Showing posts with label
sed
.
Show all posts
Showing posts with label
sed
.
Show all posts
Tuesday, August 8, 2017
sed : snippet
Keep the first match and remove the rest match from file
sed 'PATTERN\s*$/d' -i path_to_file
Older Posts
Home
Subscribe to:
Posts (Atom)