[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] modifying files in place.

From: John Kearney
Subject: [Help-bash] modifying files in place.
Date: Fri, 31 May 2013 03:00:46 +0200

Hi all,
  so I recently came across a new construct (for me) to edit a file in place.
{ rm file && awk 'whatever' >file } <file

I'm just wondering how portable is it? This seems to be making use of OS/FS specific behavior.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]