Hi,
I'm trying to egreg for a couple strings whcih are (0) and SYSTEM. The problem is the syntax for egreg is:
egreg "(string1|string2)"
With my basic knowledge of UNIX I don't know how to include '(0)' within "(string1|string2)" apart from trying to use single quotes which doesn't work,... (9 Replies)
#include <stdio.h>
#include <math.h>
// this function calculates the volume of a Cylinder
int main(void)
{
int r; // radius
int h; // height
double M_PI; // pi
int pOne = pow (r, 2);
// get user input of radius and height
printf ("Enter your... (3 Replies)
Hi,
I am using bash. My question concerns cutting out segments of a string. Given the following filename:
S2002254132542.L1A_MLAC.x.hdf
I have been able to successfully separate the string at the periods (.):
$ L1A_FILE=S2002254132542.L1A_MLAC.x.hdf
$ BASE=$(echo $L1A_FILE | awk -F.... (5 Replies)
Hi ,
I have a line by line output as follows,for example output of ls
sample1
sample2
sample
i need to check if this output contains the exact string sample.If i use grep , it will find out all strings that contain sample as a part of their word.I dont want to do a pattern matching... (11 Replies)
I have a file with the following content.
> cat /tmp/internetusage.txt
6709.296322 30000 2/7/2010 0.00I am using the following awk command to calculate a percentage from field 1 and 2 from the file.
awk '{ print $1/$2*100 }' /tmp/internetusage.txt
This outputs the value "22.3643" as a... (1 Reply)
#! /bin/csh
set tt=12345_UMR_BH452_3_2.txt
set rr=`echo $tt | cut -d_ -f1`
set rr1=welcome
set ff=$rr $rr1
echo $ff
why $ff returned only 12345 and not 12345welcome? thanks (2 Replies)
Hi,
Whether the following piece of code is placed in the read-only memory of code (text) segment or data segment?
char *a = "Hello";
I am getting two different answers while searching in google :( that's why the confusion is (7 Replies)
Req:
===========
1)I have one shell script a.sh
2)I opened Putty session , with user name = SIR100 , and i ran a.sh script in back ground and
it took 5 minutes to complete.Meanwhile,i ran same script second time i.e a.sh with same user it sholud not allow to run the script , but it's... (3 Replies)
my echo $var1 gives below value
1.7_NEW=25,1.7_RETAINED=30,1.7_RETURNING=40
i want it in 3 different values....
i.e. as
echo $1.7_NEW=25
echo $1.7_RETAINED=30
echo $1.7_RETURNING=40
the o/p of $1.7_NEW should be 25..... (5 Replies)
Discussion started by: nikhil jain
5 Replies
LEARN ABOUT CENTOS
svn-inject
SVN-INJECT(1) Command reference SVN-INJECT(1)NAME
svn-inject - puts a Debian source package into Subversion repository
SYNOPSIS
svn-inject [options]
package.dsc
repository_URL
OPTIONS
svn-inject accepts the following options on the command-line:
-h
print the help menu
-v
Make the command output verbose
Default: Off.
-q
Hide less important messages
Default: Off.
-l
Layout type. 1 (default) means package/{trunk,tags,branches,...} scheme, 2 means the {trunk,tags,branches,...}/package scheme.
Default: 1
-t directory
Specify the directory where the .orig.tar.gz files are stored on the local machine.
Default: Off.
-d | --do-like=directory
Looks at the working directory of some other package and uses its base URL, tarball storage directory and similar checkout target
directory.
Default: Off.
-c number
Checkout nothing (0), trunk directory (1) or everything (2) when the work is done.
Default: 1
-o
Only keep modified files under SVN control (including the debian/ directory), track only parts of upstream branch
Default: Off.
-O | --no-branches
Do not create the branches subdirectory at all. This works in a similar way to -o but all changes on upstream files (e.g. meta changes
like updating the config.guess and config.sub files) are ignored and the upstream branch is not used.
Default: use branches/.
-s
By default, svn-inject used to create .svn/deb-layout after an inject operation if a checkout followed the inject. Since version 0.6.22
this behaviour is deprecated.
With this parameter svn-inject will replicate the old behaviour.
This option was provided since it can be useful when creating a local override file.
Default: Off.
-setprops -set-props
Set svn-bp:* props on the debian directory automatically.
Default: Off.
SEE ALSO
/usr/share/doc/svn-buildpackage/()
The svn-buildpackage HOWTO manual
svn-upgrade(1)
upgrade source package from a new upstream revision.
svn(1)
Subversion command line client tool
dpkg-buildpackage(1)
Debian source package tools
AUTHORS
Eduard Bloch
This manual page was written by Eduard Bloch in roff.
Goneri Le Bouder
Converted manpages to SGML.
Neil Williams
Converted manpages to DocBook XML and current Debian maintainer
COPYRIGHT
Copyright (C) 2009 Eduard Bloch
Release: 0.8.2 May 2009 SVN-INJECT(1)