Date: Tue, 19 Oct 2010 09:24:34 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-questions@freebsd.org Subject: Re: filter a binary file and reduce 0x150a to 0x15 Message-ID: <20101019132434.GB79716@gizmo.acns.msu.edu> In-Reply-To: <20101019130845.GA3773@current.Sisis.de> References: <20101019130845.GA3773@current.Sisis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 19, 2010 at 03:08:45PM +0200, Matthias Apitz wrote: > > Hello, > > Before I programm it in C (or whatever), is there any normal shell tool > to filter a (large) binary file and change any occurance of 0x150a to > 0x15 (i.e. delete \n but only if it follows a char 0x15)? Can you manage it with tr(1) ? ////jerry > > Thanks > > matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e <guru@unixarea.de> - w http://www.unixarea.de/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101019132434.GB79716>