I am trying to parse a file but the filehas binary data inline mixed with text fields.
I tried the binutils strings function , it get the binary data out but put the char following the binary data in a new line .
Dear Sir;
i want to know how the binary data convert to text file or readablw format (ASCII).If possible pl. help me for the software and where it is available for download. i.e. (1 Reply)
Hi
I have a file diskspace.txt
the data in that file is asFilesystem kbytes used avail %used Mounted on
/dev/vg06/lvol1 18870272 12099836 6673336 64% /dist
know i am writing a script to get the above bold data and that data need to be used as a input.
any idea... (4 Replies)
Hi,
I have already read a lot of posts on sending attachments in unix...but none of them were of help for my problem...so here goes..
i wanna attach a text file and send to a mail id..used the following code :
uuencode "$File1" "$File1" ;|mail -s "$Mail_sub" abc@abc.com
it works... (2 Replies)
Hello,
So I wanted to write a very simple script to remove some information from a text file and save it as something else.
For example I have a text file (let's call it txt) with three rows of numbers:
0 0 1 9 8 7 5 0 6 7 9
0 0 7 9 8 1 1 6 4 0 6
0 0 9 8 4 6 0 9 2 8 1
And I want to... (2 Replies)
hi
i am receiving a file from one system , i have to verify the format of the file data i.e whether the data is in acii format or binary format,
please help
thanks in advance
satya (1 Reply)
I am trying to write binary data to a file. My program below:
#include <stdlib.h>
#include <stdio.h>
struct tinner {
int j;
int k;
};
struct touter {
int i;
struct tinner *inner;
};
int main() {
struct touter data;
data.i = 10;
struct tinner... (4 Replies)
Hi,
I wrote a small script whose function is to execute the postemsg provided if the threshold breaches.
I want to log this postemsg messages to a log file. But I am not able to do. Can someone throw some light on how to log the output of this. I am pasting a snippet of that code.
... (2 Replies)
Hey all,
i´ve got the following problem:
i´m aquiring data with an instrument and i get data in a .txt file.
This is how the txt file looks like:
Report of AU program poptau
F1P=-49.986ppm F2P=-110.014ppm
Target directory for serfile: D:/data/Spect500/nmr/Thoma/882
Linear... (17 Replies)
I have Cygwin/X installed on Windows 7. In an xterm, I turned on logging via Main Options > Log to File.
When I open my log file with Vim I get a warning that it might be binary. Looking through the file I see what I think are VT datastream escape characters. It makes it hard to use the... (1 Reply)
Hi Everybody! First post! Totally noobie.
I'm using the terminal to read a poorly formatted book.
The text file contains, in the middle of paragraphs, hyphenation to split words that are supposed to be on multiple pages. It looks ve -- ry much like this.
I was hoping to use grep -v " -- "... (5 Replies)
Discussion started by: AxeHandle
5 Replies
LEARN ABOUT DEBIAN
gbp-pq
GBP-PQ(1) git-buildpackage Manual GBP-PQ(1)NAME
gbp-pq - Manage quilt patches on patch queue branches in git
SYNOPSIS
gbp-pq [ --verbose ] [ --color=[auto|on|off] ] [ --[no-]patch-numbers ] [ --topic=topic ] [ --time-machine=num ] drop | export | import |
rebase | switch
DESCRIPTION
gbp-pq helps one to manage quilt patches in Debian packages that are maintained with git-buildpackage. This is especially useful with pack-
ages using the 3.0 (quilt) source format. With gbp-pq you can maintain the quilt patches that should be applied to a package on a separate
branch called patch-queue branch. So if your Debian package lives on master the associated patch-queue branch will be called patch-
queue/master.
See <URL:https://honk.sigxcpu.org/piki/development/debian_packages_in_git/> for example workflows.
ACTIONS
import Create a patch queue branch from quilt patches in debian/patches/ that are listed in debian/patches/series.
export Export the patches on the patch-queue branch associated to the current branch into a quilt patch series in debian/patches/ and
update the series file.
rebase Switch to the patch-queue branch associated to the current branch and rebase it against the current branch.
drop Drop (delete) the patch queue associated to the current branch. So if you're on branch foo this would drop branch patch-queue/foo.
apply Add a single patch to the patch-queue similar to using git-am. Use --topic if you want the patch to appear in a separate subdir when
exporting the patch queue using export. This can be used to separate upstream pathes from debian specific patches.
switch Switch to the patch-queue branch if on the base branch and switch to base branch if on patch-queue branch.
OPTIONS --verbose
-v verbose execution
--color=[auto|on|off]
Whether to use colored output.
--[no-]patch-numbers
Whether the patch files should start with a number or not.
--topic=topic
Topic to use when importing a single patch
--time-machine=NUM
When importing a patch queue fails, go back commit by commit on the current branch to check if the patch-queue applies there. Do
this at most NUM times. This can be useful if the patch-queue doesn't apply to the current branch HEAD anymore, e.g. after import-
ing a new upstream version.
TAGS
When exporting patches from a patch-queue branch gbp-pq will look at the patch header for special tags it recognizes. All tags need to
start at the first column and require at least one whitespace after the colon.
Gbp-Pq-Topic: topic
Moves the patch into a subdir called topic when running
gbp-pq
export
. This allows for some structure below debian/patches.
SEE ALSO git-buildpackage(1), dpkg-source(1), quilt(1), gbp.conf(5)AUTHOR
Guido Guenther <agx@sigxcpu.org>
01 June 2012 GBP-PQ(1)