Search Results

Search: Posts Made By: anil8103
Forum: Linux 06-20-2011
20,920
Posted By anil8103
Hi Murphy Yup was running NFS, It was problem...
Hi Murphy
Yup was running NFS, It was problem with mount.
Now its working. Thanks for your solution

Great day
Anil.G
Forum: Linux 06-17-2011
20,920
Posted By anil8103
YUM HANGS AT RUNNING TRANSACTION TEST
Hi
When i trying to update using yum, hangs at Running transaction test.
[root@bugz01 ~]# yum update yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons:...
5,607
Posted By anil8103
Thanks birei,, I solved it.. The file actually...
Thanks birei,, I solved it.. The file actually contains two sections.
1 - defining groups
2 - Access control list based on urls.

I have to modify group list.

Hence i took group list contents...
5,607
Posted By anil8103
Am i doing any mistake? I got below error ...
Am i doing any mistake? I got below error
sunnt-x1> gawk '{
if($0~/^\[/)
{
n =asort(arr)
for(i=1;i<=n;i++)
printf "%s\n",arr[i]
delete arr
if(temp!=""){print temp}
print $0
temp=""
}
else...
5,607
Posted By anil8103
I am using SunOS 5.9 Generic_118558-14 sun4u...
I am using
SunOS 5.9 Generic_118558-14 sun4u sparc and also tried in gawk
5,607
Posted By anil8103
Hi Kumaran I am getting error as "fatal:...
Hi Kumaran
I am getting error as "fatal: function `asort' not defined "

Pls let me know,where i am making mistake.

Rgds
Anil.G
5,607
Posted By anil8103
No dude,, Its not getting the desired output. I...
No dude,, Its not getting the desired output.
I am getting as below
#######################
[groups]
abc =
abc_read =
bac=
bac_read=
developer=
developer_read=
test =
test_write=...
5,607
Posted By anil8103
sort with condition and insert blank line
Hi,
I have a file with no blank line anywhere
Its a conf file, The lines between [groups] and starts with "#" should be sort out with the first three characters(characters are between (a-z)). and...
1,930
Posted By anil8103
thanks dude, finally got the desired output. :)
thanks dude, finally got the desired output. :)
2,620
Posted By anil8103
let us also know the solution. :)
let us also know the solution. :)
1,930
Posted By anil8103
The Other ones i modified and finally for...
The Other ones i modified and finally for different combinations the above is the output,from this i need to get the solution as stated
2,620
Posted By anil8103
use "exit" at the end of script, Hope this...
use "exit" at the end of script, Hope this works
1,527
Posted By anil8103
awk < infile '{print "NAME :"$2,"\n","SURNAME :"...
awk < infile '{print "NAME :"$2,"\n","SURNAME :" $3 ,"\n","BIRTHDAY :"$1 }'


Input file contents are as below


01/01/80 Mitch Conley
15/07/81 ANIL Kumar


Output as below

NAME :Mitch ...
5,711
Posted By anil8103
sed '/^$/d' The above command delete the...
sed '/^$/d'

The above command delete the blank line
1,801
Posted By anil8103
grep ^/$ inflile The above command searches...
grep ^/$ inflile

The above command searches for the line that starts with "/" and nothing else

The output of above command is
/
1,930
Posted By anil8103
Hi Birei Since the file is not organised, in...
Hi Birei
Since the file is not organised, in one or other condition the scripts are failing.
I did some modifications and finally struck with a problem
The file contents are...
1,930
Posted By anil8103
Hi Birei and chirel Thanks for your solutions,...
Hi Birei and chirel
Thanks for your solutions, and Mr.Birei solution works good.
I am happy and I have to work hard in perl .

Great day
Anil.G
1,930
Posted By anil8103
thats fine,, on the result delete the first line...
thats fine,, on the result delete the first line that starts with "[" and not the second line.

---------- Post updated at 03:59 PM ---------- Previous update was at 03:55 PM ----------

Input...
1,930
Posted By anil8103
there are no spaces , the line either starts with...
there are no spaces , the line either starts with alphabetic or "[" or "@"
1,930
Posted By anil8103
delete line with conditions
Hi Dude,
I am struck up with another problem,Pls help me
I am new to perl , I have little knowledge only.

The scenario is

[abc:/def/ghi/jkl/mno]
ssenthil = rw
...
1,395
Posted By anil8103
Ok,, Will make it a new post and thanks for info
Ok,, Will make it a new post and thanks for info
1,395
Posted By anil8103
Hi Dude, I am struck up with another...
Hi Dude,
I am struck up with another problem,Pls help me
I am new to perl , I have little knowledge only.

The scenario is
[abc:/def/ghi/jkl/mno]
ssenthil = rw
[abc:/def/ghi/jkl/mno]
anilkg...
2,589
Posted By anil8103
Thanks dude.Its working great. I am very...
Thanks dude.Its working great.
I am very grateful to be a member of this site.
I love this site. :)
2,589
Posted By anil8103
Delete white space using sed
Hi ,
I have a file with contents as below

group1 = aaaaa, bbbbb, ccccc, aaa
group2=aaa, bbbbb, ccccc, aaaaa
group3 = bbbbb, aaa, ccccc, aaaaa
group4 = bbbbb, aaa,ccccc, aaaaa

I want to...
1,395
Posted By anil8103
Thanks dude Its working great
Thanks dude
Its working great
Showing results 1 to 25 of 29

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