Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
get file until match without including
Rose
Programming language:
Shell/Bash
2021-06-24 17:55:23
0
Q:
get file until match without including
kingW3
Code:
Shell/Bash
2021-03-02 23:55:14
sed '/[match]/q' file.txt #Include q option at the end to grep until match only
0
Tags
get
file
Related
search all folders for file match linux
sed from match to end of file
get until last match
sed print from match to end of file
pathspec '4.0' did not match any file(s) known to git.
awk print lines when match is found with specific field
get from match to end of file
New to Communities?
Join the community