hugme: (Default)
[personal profile] hugme
99 red balloons is really good in german.

wow, I got up this morning I was surprised

I had a good night last night, saw my girl. Her roomie I think is very unhappy where she is... I am sad for her... I think she is getting a bad taste of Atlanta and it's really not a bad place at all!!! We had chicken fingers for dinner, they were actually not half bad this time, it was amazing. hrm, maybe the food there will improve. Some girl come over and gave us chocolate, that was really nice, I don't like chocolate but girl does.

They have a big screen TV in the student center at Agnes Scott, I bet that would be fun to play SSX on.... maybe sometime this week I will steal some time on it

What is the sound of one hand clapping?

ok, I have a shell problem and I haven't found a solution for it yet... it's with regular expressions on the command line... I thought this would work:

# rm -R party[1,2]?[0-9]\.html

matches party, 0 or 1 instance of a 1 or a 2, a number 0 to 9 then a .html

it doesn't... the [1,2]? doesn't work.... how do you set that up? I am confused..... I know this works in a sed or awk command but it doesn't work in the shell?

I did find something about installing extglob to get it to work but I can't find ANYTHING on extglob. with that it would look somthing like this:

#rm -R party?([1-2])[0-9]\.html

that doesn't work either so I guess it's not installed... I wonder if I am going to have to re-compile bash..... grrr....

oh and yes I know that I can just use an awk statement but then I won't learn how this works....

#rm -R `ls | awk '/party[1-2]?[0-9]\.html/ {print}'`

oh well, I guess I will just have to keep playing :-)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

hugme: (Default)
hugme

April 2011

S M T W T F S
     12
3456789
10111213141516
17 181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 8th, 2026 11:39 am
Powered by Dreamwidth Studios