On Thursday 09 April 2009 16:57:42 Павел Тимонин wrote: > конечно, три строчки типа > > echo text > /path/to/file > sudo cp /path/to/file /path/to/system/file > rm /path/to/file > > это допустимо, но как-то очень уж некрасиво. echo test | sudo sh -c 'cat > file' Только причем тут Perl, я не очень понял.