From owner-freebsd-questions@FreeBSD.ORG Thu Aug 9 20:25:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95C2716A420 for ; Thu, 9 Aug 2007 20:25:20 +0000 (UTC) (envelope-from idmc_vivr@intgdev.com) Received: from omr10.networksolutionsemail.com (omr10.networksolutionsemail.com [205.178.146.60]) by mx1.freebsd.org (Postfix) with ESMTP id 4041413C481 for ; Thu, 9 Aug 2007 20:25:20 +0000 (UTC) (envelope-from idmc_vivr@intgdev.com) Received: from mail.networksolutionsemail.com (ns-omr10.mgt.hosting.dc2.netsol.com [10.49.6.73]) by omr10.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id l79KPIV0005035 for ; Thu, 9 Aug 2007 16:25:19 -0400 Received: (qmail 20444 invoked by uid 78); 9 Aug 2007 20:25:17 -0000 Received: from unknown (HELO webmail30) (205.178.146.50) by 10.49.36.73 with SMTP; 9 Aug 2007 20:25:17 -0000 Received: from 209.254.236.34 (idmc_vivr@intgdev.com [209.254.236.34]) by webmail30 (Netsol 11.2.30) with WEBMAIL id 21514; Thu, 09 Aug 2007 20:25:17 +0000 From: "V.I.Victor" To: freebsd-questions@freebsd.org Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Network Solutions Webmail, Build 11.2.30 X-Originating-IP: [209.254.236.34] X-Forwarded-For: [(null)] Date: Thu, 09 Aug 2007 20:25:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Utility to change a byte in a binary file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 20:25:20 -0000 It sure seems that this should be simple, but my searches have only turned up inter-active hex/disk editors. I'm probably "asking" wrong. I have a large binary file (>700 meg) and I know that there is a single wrong byte. I also know it's exact location in the file. Is there a command-line utility to write a byte at a specified offset into a file?