Name: Phil Hollenback
Member since: 2000-03-31 07:38:21
Last Login: 2009-03-05 05:56:32
Homepage: http://www.hollenback.net
Notes: I'm more of a Linx/Unix Sysadmin than anything else these days but I have long been involved with the free/open source software world. In particular I'm trying to maintain post.el, the mutt editor mode for emacs. Actually these days I'm busier as a Yahoo! Mail Service Engineer and father of a two-year-old than anything else.
|
|
|
Unfortunately I have something like 7 years worth of data in my phpwiki so I'm stuck with it. If only I knew more php I could contribute fixes...
.
Which, according to these guys, is delicious. I saw one of these bizarre fruits at the Ferry Building farmers Market in San Francisco and I just couldn't resist buying one to play with.
The citron (also known as buddha's hand) is apparently useless for anything except flavoring stuff and smelling really awesome. There's no actual fruit inside the thing but the smell of the rind is absolutely incredible. My whole apartment is full of the smell after I cut it up. I still half a hand left so I have to decide if I am going to infuse another bottle of vodka or make some sort of tea or what.
DfLine=$(df -h /misc/backup | tail -1)
# convert DfLine into a bash array...
DfLine=(${DfLine// / })
echo -n ${DfLine[3]}
echo " free space remaining on /misc/backup"
So basically I did a perl split on whitespace
and stuffed the results into an array. Actually I'm think
that's a split on " *", not whitespace as I
suspect it
wouldn't work on tabs. I didn't test that though.
Also I think it should be possible to do the command
substitution and the expansion of $DfLine in
one go but all
the $({$({${{ started to make my head hurt so I
stopped there.
Inspiration from this unix.com page.
This is probably a pretty good indication that it's time to re-write the script in perl.
philiph certified others as follows:
Others have certified philiph as follows:
[ Certification disabled because you're not logged in. ]
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!