Search Results

Search: Posts Made By: aksijain
1,249
Posted By Scrutinizer
In the first sample you use single quotes, in the...
In the first sample you use single quotes, in the second you use double quotes. Because of these $0 is processed as a shell variable, so you would need to escape that $-sign (x=\$0). Or try:
...
2,106
Posted By Scrutinizer
nawk 'getline $4<f' f=test test1
nawk 'getline $4<f' f=test test1
2,106
Posted By guruprasadpr
Hi Assuming your files as f1 and f2: ...
Hi

Assuming your files as f1 and f2:

awk '{getline x<"f2";$NF=x FS $NF;}1' f1

Guru.
1,580
Posted By Sheel
use %d or %.2f
use %d or %.2f
Forum: Solaris 05-02-2012
4,499
Posted By methyl
Recommend that you to take this up with Oracle...
Recommend that you to take this up with Oracle (aka Sun) under your support contract with view to reviewing your firmware and software revision levels prior to engaging a hardware engineer.
1,496
Posted By archimedes
hi.. try this... if [ $# != 2 ] then ...
hi.. try this...

if [ $# != 2 ]
then
echo "incorrect number of arguments. Exitting !!!"
exit 1;
fi

$# = the number of arguments that you are passing in the script.
here i...
1,496
Posted By jim mcnamara
You can programatically answer program prompts,...
You can programatically answer program prompts, in a script this is called a here document:
I have not used hppi, so I don't know what you mean by select. Once you start a here doc, ALL of the...
845
Posted By frank_rizzo
is this what you mean? while read i do ...
is this what you mean?

while read i
do
echo $i
done<data
Forum: Solaris 07-30-2011
8,049
Posted By h@foorsa.biz
As far as I know both ways will work on modern...
As far as I know both ways will work on modern versions of Solaris 10 , But in case of major hardware changes such CPUs run into reconfiguration boot
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 08:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy