prepend to a file with sponge from moreutils

2010-03-16 1 min read Linux

<a href="">A few weeks I wrote about a tool, which helps you easily prepend to a file. I submitted prepend to moreutils and Joey was kind enough to point out this could be done with `sponge&#8217;.? sponge reads standard input and when done, writes it to a file:
Probably the most general …<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="">Automating Tasks in Linux Using Crontab ( <li class="zemanta-article-ul-li"><a href="">How WebHooks Will Make Us All Programmers ( <li class="zemanta-article-ul-li"><a href="">Debugging python (multi)processing ( <li class="zemanta-article-ul-li"><a href="">You Can Do It! Start Using Perl to Handle Your Voyager Needs ( <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href=""><img class="zemanta-pixie-img" src="" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

comments powered by Disqus