I have a file which gets appended with records daily..for eg. 1st day of the month i get 9 records ,2nd day 9 records .....till the last day in the month...the no of records may vary...i store the previous days file in a variable oldfile=PATH/previousdaysfile....i store the current days file in a... (6 Replies)
Hola,
Tengo un texto texto1.txt con el siguiente contenido:
Malaga
Cadiz
Sevilla
Hola
Y otro .txt texto2.txt con:
Malaga
Cadiz
Sevilla
Cordoba
Huelva
quiero obtener en otro .txt la diferencia entre estos dos archivos: (14 Replies)
I need to find the difference between two files in UNIX. I tried diff, but couldn't get it right.
There are two files:
file1: apple
mango
strawberry
banana
grape
file2: grape
apple
banana
I need an output file like below: ... (11 Replies)
Hi,
Could anyone help me to solve this problem?
I have two files "f1" and "f2" having 2 fields in each, a) file size and b) file name. The data are almost same in both the files except for few and new additional lines. Now, I have to find out and print the output as, the difference in the... (3 Replies)
I have 2 files as follows.
file1.txt
<cell>123</cell>
<cell>345</cell>
file2.txt
<cell>123</cell>
<cell>456</cell>
out out should be
output.txt
<cell>456></cell>
How do we achieve this> The difference betwenn the two files should be wirtten to the output file..
... (2 Replies)
Hi,
The requirement is to compare two files that has single column of records each. Comparison is to happen on a whole and not line by line.
File1.txt
314589929
315611087
304924413
315989094
301171509
302984393
315609549
314593632
File2.txt
315611087
304924413
315989094 (2 Replies)
Hi , i am newbie to shell scripting and am trying to do the below job,
A shell script to be run with a command like
sh Compare.ksh file1.txt file2.txt 1 2 > file3.txt
1 2-are the key columns
Consider the delimiter would be Tab or comma
File 1:
SK TEST NAME MATHS PHYSICS
21 1... (1 Reply)
Hi , i am newbie to shell scripting and am trying to do the below job,
A shell script to be run with a command like
sh Compare.ksh file1.txt file2.txt 1 2 > file3.txt
1 2-are the key columns
Consider the delimiter would be Tab or comma
File 1:
SK TEST NAME MATHS PHYSICS
21 1 AAA... (1 Reply)
I have two files named Before.txt and After.txt:
Now i want to find the difference in content between <Marker 1> and <Marker 2> in the two files.
---------- Post updated at 05:00 PM ---------- Previous update was at 04:50 PM ----------
Any help will be highly appreciated..:) (3 Replies)
Discussion started by: proactiveaditya
3 Replies
LEARN ABOUT DEBIAN
gbp.conf
GBP.CONF(5) gbp.conf Manual GBP.CONF(5)NAME
gbp.conf - git-buildpackage configuration file
SYNOPSIS
/etc/git-buildpackage/gbp.conf
system wide
~/.gbp.conf
per user
.gbp.conf
per branch, can be published with the repository (deprecated)
debian/gbp.conf
per branch, can be published with the repository
.git/gbp.conf
per repository
DESCRIPTION
The gbp.conf provides default global options and specific options for git-buildpackage commands. All have the same format and are parsed in
the above order. The file consists of several sections, one for each command. Comments start with a hash sign (#). The generic file syntax
is:
[DEFAULT]
# This is section for global settings. Affects all commands
key = value
[<command>]
# Specific sections for each command, like git-buildpackage
key = value
[remote-config <name>]
# Specific sections for a remote configuration. This can be used several
# times to set up remote configuration for gbp-create-remote-repo
key = value
key=value pairs of the command sections reflect the command line options and their settings. For example git-buildpackage(1) manualpage
contains the --git-export-dir=diirectory option which can be turned into configuration file setting by dropping the --git prefix with:
[git-buildpackage]
export-dir = directory
Notice that some option are actually repeatable, or take Python lists. For example the git-import-orig(1) commmand has the --filter=pat-
tern option which can be truned into a configuration file option like this:
[git-import-orig]
filter = .svn
filter = .hg
An alternative way is to write it using Python list syntax:
[git-import-orig]
filter = [ '.svn', '.hg' ]
Boolean options can bei either True or False. For example git-import-orig(1); has the --pristine-tar and --no-pristine-tar options which
translate to:
[git-import-orig]
pristine-tar = True
and
[git-import-orig]
pristine-tar = False
respectively.
Note: To see the current set of values that would be applied after parsing the configuration files run the command with --help and
check it's output.
Note: git-import-dscs and git-pbuilder can't be configured via gbp.conf.
gbp-create-remote-repo(1) can additionally parse remote site configurations from gbp.conf. For example a configration like:
[remote-config pkg-libvirt]
# Location of the repository
remote-url-pattern = ssh://git.debian.org/git/pkg-libvirt/%(pkg)s
# Template dir to passed to git-init
template-dir = /srv/alioth.debian.org/chroot/home/groups/pkg-libvirt/git-template
Can be used to create remote repositories for the pkg-libvirt project using:
gbp-create-remote-repo --remote-config=pkg-libvirt
This can be useful if you're often creating new remote repositores for different projects.
EXAMPLES
An example set up for packaging work:
# $HOME/gbp.conf
[DEFAULT]
pristine-tar = True
cleaner = fakeroot debian/rules clean
[git-buildpackage]
export-dir = ../build-area/
[git-import-orig]
dch = False
filter = .svn
filter = .hg
filter = .bzr
filter = CVS
filter = debian/*
filter = */debian/*
filter-pristine-tar = True
[git-import-dsc]
filter = [
'CVS',
'.cvsignore',
'.hg',
'.hgignore'
'.bzr',
'.bzrignore',
'.gitignore'
]
# End of file
ENVIRONMENT
GBP_CONF_FILES
Colon separated list of files to parse. The default is the above list of configuration files.
FILES
See See /etc/git-buildpackage/gbp.conf for an example.
STANDARDS
The at The Git-Buildpackage Manual <URL:file:///usr/share/doc/git-buildpackage/manual-html/index.html> at /usr/share/doc/git-buildpack-
age/manual-html/index.html
SEE ALSO gbp-clone(1), gbp-create-remote-repo(1), gbp-pq(1)gbp-pull(1), git-dch(1), git-import-dsc(1), git-import-orig(1), git-buildpackage(1)AUTHORS
Guido Guenther <agx@sigxcpu.org>
This manual page is based on a POD version by Jari Aalto <jari.aalto@cante.net>. Released under license GNU GPL version 2 or (at your
option) any later. version.
01 June 2012 GBP.CONF(5)