08-30-2017
Thanks Rudic..I will modify my code by considering your code.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file name version.properties with the following data:
major.version=14
minor.version=234
I'm trying to write a grep expression to only put "14" to stdout. The following is not working.
grep "major.version=(+)" version.properties
What am I doing wrong? (6 Replies)
Discussion started by: obfunkhouser
6 Replies
2. Red Hat
Hi Experts.
I need to install one help library in Fedora 13 and I got the installation document for it:
---------------------------------------------------
users need their own J2EE web application server to be able
to complete this installation. The server must support J2EE - JSP... (3 Replies)
Discussion started by: orma
3 Replies
3. Shell Programming and Scripting
I have a txt file that contains multiple occurrances of:
<MoreFlag>Y</MoreFlag>
I want to update these to:
MorePACFlag>Y</MorePACFlag>
How would I do this?
Cheers
Paul (2 Replies)
Discussion started by: runnerpaul
2 Replies
4. Solaris
I am using a solaris zone in Sun blade-T6320 which has a java version "1.5.0_18" i want to update it to 1.6.0.16 or higher , how can i do that , does i need to add the new java package to the global server or just instal it in the zone itself.
do i need to remove the older version or and install... (1 Reply)
Discussion started by: Sojourner
1 Replies
5. UNIX for Dummies Questions & Answers
We have a version for every file like RHZ 1.0 / Ver 1.4.2 etc.
Whenever I place a new file with same file name i want the version to get auto upgraded. So can anyone suggest code..
Eg:
RHX 1.0 -> RHZ 1.1
Ver 1.4.2. -> Ver 1.4.3 (1 Reply)
Discussion started by: krishna87
1 Replies
6. Red Hat
Hello All,
I am trying to upgrade redhat from 5.6 to 5.8.
When i use
Code:
yum update -y
it installs 5.9
I dont want 5.9, instead i would like to upgrade to 5.8
is there anyway to specify a version when you are doing
Code:
yum update (4 Replies)
Discussion started by: adam25ca
4 Replies
7. Shell Programming and Scripting
I have a text file like this:
subject1:LecturerA:10
subject2:LecturerA:40
if I was given string in column 1 and 2 (which are subject 1 and LecturerA) , i need to update 3rd field of that line containing that given string , which is, number 10 need to be updated to 100 ,for example.
The... (6 Replies)
Discussion started by: bmtoan
6 Replies
8. UNIX for Beginners Questions & Answers
In the awk below I am trying to cp and paste each matching line in f2 to $3 in f1 if $2 of f1 is in the line in f2 somewhere. There will always be a match (usually more then 1) and my actual data is much larger (several hundreds of lines) in both f1 and f2. When the line in f2 is pasted to $3 in... (4 Replies)
Discussion started by: cmccabe
4 Replies
9. UNIX for Beginners Questions & Answers
I attached both picturehttps://1drv.ms/t/s!Aoomvi55MLAQh1jODfUxa-xurns_ and *.txt file of a sample work file. In this file Reactions which only start with "r1f", "r2f", "r3f"......and so on. And for each reaction the reaction rates is situated couple of lines later with a "+" sign.
For each... (1 Reply)
Discussion started by: Atta
1 Replies
LEARN ABOUT DEBIAN
carton-install
CARTON-INSTALL(1p) User Contributed Perl Documentation CARTON-INSTALL(1p)
NAME
carton-install - Install the dependencies
SYNOPSIS
carton install [--deployment] [--path=PATH] [modules...]
DESCRIPTION
Install the dependencies for your application. This command has two modes and the behavior is slightly different.
DEVELOPMENT MODE
carton install (no arguments)
If you run "carton install" without any arguments and if cpanfile exists, carton will scan dependencies from cpanfile and install the
modules.
In either way, if you run "carton install" for the first time (i.e. carton.lock does not exist), carton will fetch all the modules
specified, resolve dependencies and install all required modules from CPAN.
If carton.lock file does exist, carton will still try to install modules specified or updated in cpanfile, but uses carton.lock for the
dependency resolution, and then cascades to CPAN.
carton will analyze all the dependencies and their version information, and it is saved into carton.lock file. It is important to add
carton.lock file into a version controlled repository and commit the changes as you update your dependencies.
DEPLOYMENT MODE
If you specify the "--deployment" command line option or the carton.lock exists and cpanfile does not exist, carton will fetch all remote
modules and use the dependencies specified in the carton.lock instead of resolving dependencies.
CONSERVATIVE UPDATE
"carton install" doesn't update the modules already installed into local library path as long as the version is satisfied.
For example, one day you install URI-1.50 from CPAN:
> carton install URI
Successfully installed URI-1.50
Few weeks later, URI module is updated to 1.51 on CPAN. If you run the "carton install URI" again:
> carton install URI
You have URI (1.50)
because you haven't specified the version number, carton won't update the module in your local library path.
WARNINGS: following commands are not implemented
If you want to update to the latest version of CPAN, you can either use "carton update" command, or specify the required version either in
your cpanfile.
> carton update URI
> cat cpanfile
requires 'URI', 1.51;
Any of those will upgrade URI to the latest one from CPAN, and the version specified in the carton.lock will be bumped.
OPTIONS
--deployment
Force the deployment mode and carton will ignore cpanfile contents.
--path
Specify the path to install modules to. Defaults to local in the current directory.
perl v5.14.2 2012-05-12 CARTON-INSTALL(1p)