02-17-2012
Please use code tags, please do not double post, and consider reading the rules of the forum.
10 More Discussions You Might Find Interesting
1. Programming
Hello everybody,
I am having problem in converting byte array variables to Hexa String variables for Linux. I have done, converting byte array variables to Hexa String variables for Windows but same function doesn't work for linux. Is there any difference in OS ? The code for Windows is given... (2 Replies)
Discussion started by: ritesh_163
2 Replies
2. Shell Programming and Scripting
Hi,
I'm new to shell programming.
I have two variables a and b
a=val1
b=val2
could anyone kindly post the shell script to concatenate the values of variable a and b with an underscore(_) in between?
The final output should be val1_val2. (8 Replies)
Discussion started by: badrimohanty
8 Replies
3. Shell Programming and Scripting
i have a file as below and i need to load it into oracle. The problem is, some of the rows are in 2 lines.
123456_PosWlist ----- ----- IN 0/0
123456_PosWListRpt ----- ----- IN 0/0
123456_PosWListCSV
----- -----... (7 Replies)
Discussion started by: Amit.Sagpariya
7 Replies
4. Shell Programming and Scripting
Hello,
I have a tricky problem:
I have a $file with a variable number of occurrences of "ORA-" (in this case two)
..........
EXP-00008: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
EXP-00056: ORACLE error 1403 encountered
ORA-01403: no data found... (9 Replies)
Discussion started by: Laurentiu
9 Replies
5. Shell Programming and Scripting
Hi, I want to create a batch(bash) file to combine 23 files together. These files have the same extension. I want the final file is save to a given folder. Once it is done it will delete the 23 files.
Thanks for help. Need script. (6 Replies)
Discussion started by: zhshqzyc
6 Replies
6. Web Development
hi..:)
this is my sample part of my program..
$csv_output .= $row.",".
$row.",".
$row.",".
$row.",".
$row.",".
... (2 Replies)
Discussion started by: Jeneca
2 Replies
7. Shell Programming and Scripting
Cannot combine these two strings into one line, either as a 3rd variable or echo or printing ? Frustrating.
for i in `cat /scripts/pathList.dat`
do
OldRepo= grep Oldhostname ${i}/.svn/entries | tail -1
NewRepo= grep Oldhostname ${i}/.svn/entries | tail -1 | sed '/Oldhostname/... (41 Replies)
Discussion started by: pcpinkerton
41 Replies
8. Shell Programming and Scripting
Hi Guys,
I was scratching my head for this for half a day... finally not successful :confused:
Following is the problem
I have a variable
$ var1=123
$ var2-234
$ var3=345
and another Variable
$ i=1
Now i wanted to save these into a Variable as shown below
for i in 1 2 3
do... (5 Replies)
Discussion started by: ramprabhum
5 Replies
9. Shell Programming and Scripting
Hi All,
i have a requirement where i have to run a script with at least 25 arguements and position of arguements can also change. the unapropriate way is like below. can we achieve this in more good and precise way??
#!/bin/ksh
##script is sample.ksh
age=$1
gender=$2
class=$3
.
.
.... (3 Replies)
Discussion started by: Lakshman_Gupta
3 Replies
10. Shell Programming and Scripting
Trying to do so
echo "111:222:333" |awk -F: '{system("export TESTO=" $2)}'But it doesn't work (2 Replies)
Discussion started by: urello
2 Replies
LEARN ABOUT DEBIAN
pull-debian-source
PULL-DEBIAN-SOURCE(1) General Commands Manual PULL-DEBIAN-SOURCE(1)
NAME
pull-debian-source - download and extract a source package from Debian
SYNOPSIS
pull-debian-source [options] <source package> [release|version]
DESCRIPTION
pull-debian-source downloads and extracts the specified version of source package, or the latest version in the specified Debian release.
pull-debian-source will try the preferred mirror, default mirror, security mirror, and fall back to Launchpad or snapshot.debian.org, in
search of the requested version.
OPTIONS
source package
The source package to download from Debian.
release
The release to download the source package from. Defaults to unstable.
version
The specific version of the package to download.
-d, --download-only
Do not extract the source package.
-m DEBIAN_MIRROR, --mirror=DEBIAN_MIRROR
Use the specified mirror. Should be in the form http://ftp.debian.org/debian. If the package isn't found on this mirror,
pull-debian-source will fall back to the default mirror.
-s DEBSEC_MIRROR, --security-mirror=DEBSEC_MIRROR
Use the specified mirror. Should be in the form http://security.debian.org. If the package isn't found on this mirror,
pull-debian-source will fall back to the default mirror.
--no-conf
Do not read any configuration files, or configuration from environment variables.
-h, --help
Display the usage instructions and exit.
ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to
those in configuration files.
CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific
variable takes precedence over the package-wide variable.
PULL_DEBIAN_SOURCE_DEBIAN_MIRROR, UBUNTUTOOLS_DEBIAN_MIRROR
The default value for --mirror.
PULL_DEBIAN_SOURCE_DEBSEC_MIRROR, UBUNTUTOOLS_DEBSEC_MIRROR
The default value for --security-mirror.
SEE ALSO
dget(1), pull-debian-debdiff(1), pull-lp-source(1), ubuntu-dev-tools(5)
ubuntu-dev-tools 22 January 2011 PULL-DEBIAN-SOURCE(1)