Search Results

Search: Posts Made By: aksijain
1,252
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,109
Posted By Scrutinizer
nawk 'getline $4<f' f=test test1
nawk 'getline $4<f' f=test test1
2,109
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,582
Posted By Sheel
use %d or %.2f
use %d or %.2f
Forum: Solaris 05-02-2012
4,505
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,499
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,499
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...
849
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,050
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 12:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy