* Martin McCormick [24-06/01=Sa 09:25 -0500]:
> [...] determine whether a file system is mounted such as
> $ mount |grep horseradish
> [...]
I think
perl -e 'print grep m[/horseradish],`mount`'
is hard to beat for its simplicity. Note I'm using Perl's
built-in grep; there's no need to run the
* linux...@gmx.net [22-11/20=Su 09:58 +0100]:
> I have a large file which has millions of lines. They are text
> only lines. If I have to change one line in the file, what's the
> efficient way? I don't want to slurp the whole file into memory,
> change that line and write the full content