9 More Discussions You Might Find Interesting
1. Solaris
Hi Folks,
I am seeing an issue in solaris, while running a script..
Script contents
#!/usr/bin/bash
echo $HOME
echo "********** RUNNING props on test ********"
. /opt/home/weblogic/.profile > /dev/null
echo "****** CURRENT BRANCH: $BRANCH *********";
.... (3 Replies)
Discussion started by: ganga.dharan
3 Replies
2. Shell Programming and Scripting
Why I get bad replace when using eval?
$ map0=( "0" "0000" "0")
$ i=0
$ eval echo \${map$i}
0000
$ a=`eval echo \${map$i}` !!!error happens!!!
bash: ${map$i}: bad substitution
How to resolve it ?
Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies
3. Shell Programming and Scripting
Hi. My name is Caleb (a.k.a RagingNinja) form the whited00r forums. (Whited00r makes custom firmware for iOS devices).
I have been learning and creating simple shells scripts. I have been recently using VIM for Windows or using VirtualBox to run the UBUNTU OS within VirtualBox to create my shell... (2 Replies)
Discussion started by: RagingNinja
2 Replies
4. UNIX for Advanced & Expert Users
I am using mpc8xx processor with linux-2.4.20 kernel. These prints are getting flooded to my console almost consistenly.
14 06:29:17 MC4L-TP01 syslog.warn klogd: pte @ 0x10113d88: (0xc51cc100)->(0xc4bd144c)->0x01eec889
Oct 14 06:29:17 MC4L-TP01 syslog.warn klogd: RPN: 01eec PP: 2 SPS: 1 SH:... (1 Reply)
Discussion started by: subratasaharia
1 Replies
5. UNIX for Dummies Questions & Answers
Jun 19 02:45:28 scsi: WARNING: /pci@8,600000/scsi@1/sd@c,0 (sd42):
Jun 19 02:45:28 Error for Command: read Error Level: Retryable
Jun 19 02:45:28 scsi: Requested Block: 713232 Error Block: 713244
Jun 19 02:45:28 scsi: Sense Key: Media Error (1 Reply)
Discussion started by: jgentile
1 Replies
6. Shell Programming and Scripting
I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file.
Example:
File1
Name designation dateOfJoining... (2 Replies)
Discussion started by: shilendrajadon
2 Replies
7. UNIX for Advanced & Expert Users
I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file.
Example:
File1
Name designation dateOfJoining... (1 Reply)
Discussion started by: shilendrajadon
1 Replies
8. Shell Programming and Scripting
:confused:
Bad if test:
if
returns an error
I have changed filename to
"filename"s su
"$filename"
'filename''
'$filename''
"./filename"
"./$filename"
error is usually
why cant I test the filename?
Thanks (4 Replies)
Discussion started by: sharkze
4 Replies
9. UNIX for Dummies Questions & Answers
I ran rm -rf lib*, I intended libm*, it deleted the whole lib dir from root. This is a dedicated webserver. What should I do? (4 Replies)
Discussion started by: Lss1
4 Replies
Debian::Control::Stanza::Source(3pm) User Contributed Perl Documentation Debian::Control::Stanza::Source(3pm)
NAME
Debian::Control::Stanza::Source - source stanza of Debian source package control file
SYNOPSIS
my $src = Debian::Control::Stanza::Source->new(\%data);
print $src; # auto-stringification
print $src->Build_Depends; # Debian::Dependencies object
DESCRIPTION
Debian::Control::Stanza::Source can be used for representation and manipulation of "Source:" stanza of Debian source package control files
in an object-oriented way. Converts itself to a textual representation in string context.
FIELDS
The supported fields for source stanzas are listed below. For more information about each field's meaning, consult the section named
"Source package control files -- debian/control" of the Debian Policy Manual at http://www.debian.org/doc/debian-policy/
<http://www.debian.org/doc/debian-policy/>
Note that real control fields may contain dashes in their names. These are replaced with underscores.
Source
Section
Priority
Maintainer
Uploaders
DM_Upload_Allowed
Build_Conflicts
Build_Conflicts_Indep
Build_Depends
Build_Depends_Indep
Standards_Version
Vcs_Browser
Vcs_Bzr
Vcs_CVS
Vcs_Git
Vcs_Svn
Homepage
XS_Autobuild
All Build_... fields are converted into objects of Debian::Dependencies class upon construction.
CONSTRUCTOR
new
new( { field => value, ... } )
Creates a new Debian::Control::Stanza::Source object and optionally initializes it with the supplied data.
SEE ALSO
Debian::Control::Stanza::Source inherits most of its functionality from Debian::Control::Stanza
COPYRIGHT & LICENSE
Copyright (C) 2009 Damyan Ivanov dmn@debian.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2012-01-15 Debian::Control::Stanza::Source(3pm)