Search Results

Search: Posts Made By: aravindan
23,687
Posted By aravindan
Hi All, Thanks for all the pointers you have...
Hi All, Thanks for all the pointers you have suggested. On the same lines, is it possible to replace the occurrences 20 to 30 of a string in a file, with a new string? Say in file a.cfg, i have 50...
4,112
Posted By aravindan
All, I tried one option today. cat sam.awk ...
All,
I tried one option today.
cat sam.awk
BEGIN{ printf "TEST" }
{
for(i=0;i<5;i++)
{ REPNUM=i; printf "REP: %d\n", REPNUM;
LINE1="TEST THE PRINT value of REP: $REPNUM"
...
4,112
Posted By aravindan
Thanks a ton ChublerXL Your idea worked like...
Thanks a ton ChublerXL
Your idea worked like magic..
4,112
Posted By aravindan
@Scrutinizer, thanks for your inputs. but the...
@Scrutinizer,
thanks for your inputs.
but the sed is not able to take the \n charecters properly...
nNew NewnS.No Namen(XX) (Y)nn1 A
2 B

Can yu help with some othr option n sed?
Thanks,
4,112
Posted By aravindan
Pravin27, Thanks your awk works fine on...
Pravin27,

Thanks your awk works fine on LINUX box.
But i pity myself, the same thing doesnt work on AIX.... :( :(
It throws this error

Syntax Error The source line is 1.
The error...
4,112
Posted By aravindan
pravin27 But i get this error when doing so...
pravin27

But i get this error when doing so

The error context is
BEGIN{printf str} {if(NR%5==0){print $1"\t"$2;i=1}else{printf >>> i== <<<
awk: 0602-502 The statement...
4,112
Posted By aravindan
Adding header once every 5 lines
Hi,

I need a help in creating a report file.
The input file is like this

1 A
2 B
3 V
4 X
5 m
6 O
7 X
8 p
9 a
10 X

There is a header which i have to print &...
Forum: Solaris 02-23-2011
4,182
Posted By aravindan
Thanks again :b::b: But i am not able to...
Thanks again :b::b:
But i am not able to understand this logic :confused: when running this command on AIX.
>> ls | sort | tee 3 displays
1
2

but
>> ls | sort > 3
cat 3 displays
1
2
3...
Forum: Solaris 02-23-2011
4,182
Posted By aravindan
Thanks jlliagre Your suggestion works fine in...
Thanks jlliagre
Your suggestion works fine in RHEL.

But on AIX i am still getting the same file name

But i got a suggestion from web to fix this on AIX too. :b::b:

Thanks every one for your...
Forum: Solaris 02-22-2011
4,182
Posted By aravindan
LS redirection to a file in same folder
Hello,

I need an input from you all.
I want to redirect the output of 'ls' command to a file
but the file should not display the output file name in it.
scenario:
------------

$pwd...
Forum: Solaris BigAdmin RSS 11-24-2010
2,422
Posted By aravindan
Thanks a ton David The informations you gave...
Thanks a ton David
The informations you gave are really helpful
Forum: Solaris BigAdmin RSS 11-11-2010
2,422
Posted By aravindan
Server replication
Hi,

We are planning to setup a new server at new location (A) having a server (which is at location B) as reference.
What (all) parameters do we need to keep in mind, when we plan to replicate a...
Showing results 1 to 12 of 12

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