Search Results

Search: Posts Made By: rohitv
5,034
Posted By rohitv
exercises in shell
Hi,
I am a beginner at shell scripting, though I have several years of Oracle programming experience. Can anyone recommend a site where I can find some exercises on shell programming. Is there...
2,690
Posted By rohitv
unix environment
Hi,
Can anyone recommend a site where one can practise UNIX scripting . I don't have UNIX on my machine however I have heard there are some sites which let you log on to their servers for free.
...
3,953
Posted By rohitv
question on egrep
Hi Jim,
Thanks for your response but my requirement was really limiting the selection between 2 and 6 a's. (or for that matter a user specified number).
Any clues ?

Rohit
3,953
Posted By rohitv
question on egrep
Hi Ranj,
Your solution works for
egrep '^a(a)+$'

But can you tell me how to interpret this please?

How does this know it needs to select 2.. upto 6 a's ?

Thanks
Rohit
3,953
Posted By rohitv
question on egrep
Jim,
Your solution fetches all the a's in a file . I need to fetch the lines with
2 to 6 a's in a line
Rohit
3,953
Posted By rohitv
question on egrep
Hi Shreenmotor,
That doesn't work either !

Thanks
Rohit
3,953
Posted By rohitv
question on egrep
Hi
I am trying to use this command:
egrep '^a{2,6}$' testexpr4D

to retreive lines with 2,3,4,5, or 6 a's in a file .
The file testexpr4D has entries like:
a
aa
aaa
aaaa
aaaaa
aaaaaa...
Showing results 1 to 7 of 7

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