Tagged Questions
2
votes
4answers
151 views
append string where it belongs in sorted file
Suppose I have a sorted file, named sorted.txt, like this:
beautiful
easy
fast
functional
handy
Now, doing echo fine-grained >> sorted.txt will put "fine-grained" at the end of the file, ...