[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e541968349f5b85e4be5bfc9ba8e65bf4534d827)

flux flux at sourcemage.org
Mon Nov 10 07:38:10 EST 2008


Thomas Orgis (thomas-forum at orgis.org) wrote [08.11.10 07:16]:
> Am Sun, 9 Nov 2008 23:11:53 -0500
> schrieb flux <flux at sourcemage.org>: 
> 
> > Example: cat FILE | sed -e 's/something/ELSE/' > FILE
> 
> I'm quite sure that this would empty FILE before opening it for cat ...

Now I'm getting paranoid. I didn't think this would work yesterday
either, but I actually ran this on my machine, and it worked. However,
trying it again today shows that it doesn't work, and that FILE is now
empty. I checked my bash history, and I didn't see anything different in
what I was doing. I have no idea how I got this to work yesterday, and
I'm sure I must have done something else, but whatever I did must not be
in my bash history :(

-- 
Justin "flux_control" Boffemmyer
Cauldron wizard and general mage
Source Mage GNU/Linux
http://www.sourcemage.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-commit/attachments/20081110/3f143a8a/attachment.bin 


More information about the SM-Commit mailing list