delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=sFft1NvruZzNwEPw | |
2nYYi0HVyuuaLvm9xe9KJTUAZCCxIr+PeTor1TKI+8xJJvCP0Eskz9G7KBNATrfb | |
bAg8HNxNYNz0B9t5RehUAk2HNHnmcbVG5sFA5J7y2XNn/Cqy5uEl+zHqfuICfRRu | |
FAKv+hghN2+sYMMAD/3vDD3OTs8= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=U/IdEqmnTZuBtjbdbTegpA | |
IsbGw=; b=b5BZHgUIiFE58fbNexVqFFLBEqUSbfecZ6jkrvSIM3lBugmI0lZkiq | |
Ml3/mmwgCVihyeD++MH85xdfqKQOqKwOkBFSlx/JP9HJuhNRzwKvDyNOcLjAyUYi | |
nGMAHdQBqmQXaLNy9Ybbc13jBKukO9K4C7FwqONgHENtYcD8ptvKQ= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtpback.ht-systems.ru |
Date: | Tue, 15 Apr 2014 03:19:41 +0400 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <453640116.20140415031941@yandex.ru> |
To: | Kptain <kaptain DOT biwouak AT gmail DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: Isuue by using Perl binary mode |
In-Reply-To: | <1397478809381-107875.post@n5.nabble.com> |
References: | <1397478809381-107875 DOT post AT n5 DOT nabble DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Greetings, Kptain! > I'm facing some issues after modifying files with Perl (5.14.2) in binary > mode. > I need to remove "../" from path available in binary files. > But after executing scripts it seems that file is no more readable by > application. od -t x1 -N $(( 16*16 )) -- yourfile And compare dumps before and after your script execution. Keep in mind, that, if the application in question is a something completely unrelated to your scripts, or even Cygwin in general, you're looking at the possibility of being in need to completely reconstruct the file format before being able to successfully edit the file. > Do you have some recommandations to provide me in order to do these > modifications? Doubt this is the right mailing list for education in programming languages. Search the web for <your favorite language> survival guide. There's tons of it available for Perl, SED, AWK... -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 15.04.2014, <03:10> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |