Hi,
Can anyone recommend to me a commandline templating system?
I want to be able to store information about clients and cases in simple text files and then merge that information into precedent documents. I'll then save and print those documents.
My perfect script would be something like this:
echo "name='Richard Parsons'\naddress='10 Green Hill etc'" > me.txt
echo "name='Miles Davies'\naddress='14 Jazz Road etc'" > miles.txt
echo "Hey $to.name of $to.address,\nGreat album!\nTake care,\n$from.name of $from.address" > precedent.txt
magic-template-script -from me.txt --to miles.txt < precedent.txt > letter.txt
I'm thinking of using Cheetah (http://www.cheetahtemplate.org/), but am not particularly attached to it. I want something that I can run straight from bash if possible, but if scripting is necessary I most prefer python.
Any comments or thoughts?
Thanks,
Richard
My motherboard has onboard sound (how original!), it's a Foxconn ELA
(ICH10 I believe).
It has a digital out but in Ubuntu 10.04 I can only get stereo out no
surround out? The box used to be dual boot with Windows and under
Windows I could get my much loved 5.1 kit a 5.1 feed out from the box
but now it cries in stereo.
I suspect this is because of this (http://i43.tinypic.com/nn5lq1.png)
This is a screen shot of my sound preferences, as you can see only
stereo over digital is an option, why is this? Can I change this?
--
Regards,
James.
http://www.jamesbensley.co.cc/
There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
Wayne
Just looked at the track point and no its no detechable.
It is attached via a flat cable that runs up the keyboard and is connected to the broken main keyboard connector.
>From what I can see it would be very awkward to peel away.
I think its time for a new top or a new laptop.
Simon
--- http://twitter.com/SimonRoyal - http://www.tinyurl.com/macspectrum (sent using Sony Ericsson P990i)
Hi
I am having a nightmare of a day with my 600/600E project.
I bought a 600E which was fully working but missing hard drive, cd drive, power supply and ram.
It arrived today and I took the above out of my 600 and booted the 600E. All good except the trackpoint does some weird things.
I decided to replace the whole top panel with the one from my 600 as it is in mint condition (well was).
In doing so the top connector for the speakers fell off. The one from the 600E also fell off. Not good. Oh well its only sound. Can hack around this later.
Then there is another connector - a larger one at the top just under where it says 600/600E, well the end came off this too and try as I might I cannot get it back on.
So I am stuck with a 600 top with working trackpoint but broken connector and a 600E top with faulty trackpoint but connector in tact.
At present I am using the 600E top as it works. How can I disable the trackpoint or preferably fix it. I have plugged in a USB mouse but every so often the trackpoint goes mental and takes over the cursor.
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal.
--- IBM ThinkPad 600E running Linux Mint 9 LXDE & Windows XP & Apple iBook G3 running OSX 10.4.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Hi
My ThinkPad 600E arrived today. Two minutes after its arrival, the CD drive, hard drive, RAM and CMOS battery was taken out of my 600 and installed in the 600E and it was booting.
A working machine except the mouse pointer was broken. Would only go up and down. Pressing it left or right sent it into a frenzy.
I decided to take the top from my 600 and put it on the 600E, and in the process broke the cable that leads down to the built in speakers, the connector came off. No worries, I had the other cable from the other top... oops... nope that broke too. Seems they are rather flimsy.
So I have a 600E 366Mhz P2 laptop which is slightly faster than my 600 300Mhz P2, but it now has no sound. Under XP it detected the audio card so I am assuming it it just the speakers out and nothing else.
Might try a hack of attaching a 3.5 jack to the end of the speaker wires and run it out of the body and into the headphone socket to get audio working through the built in speakers. Will test the socket out later.
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal.
--- IBM ThinkPad 600E running Linux Mint 9 LXDE & Windows XP & Apple iBook G3 running OSX 10.4.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
See review of Pinguy OS - a Mint-y Ubuntu re-spin at
http://jeffhoogland.blogspot.com/2010/07/pinguy-os-distro-review.html
I'm with Simon on LXDE - have just set my 6-year old son up with a Edubuntu 10.04LTS/LXDE-installed Compaq Ipaq desktop
which seems to cope with most things despite P3&512Mb spec. Lost l33t points in that I wound up using ndiswrapper for Safecom USB wireless...
He seems happy enough though with educational (and not-so educational) games.
Regards,
Mark
Sign hanging in Einstein's office at Princeton: Not everything that counts can be counted, and not everything that can be counted counts.
Hi
Im still trying out new distros for my aging ThinkPad. As you know I prefer buntu based distros and am currently using Lubuntu and am very impressed with it. Out of all the distros I have tried so far it is by far the fastest - except Puppy Linux but I didnt really like that.
I tried Xubuntu with LXDE instead and it wasn't anywhere near as fast as Lubuntu. I quite like LXDE too. Lubuntu is a little rough around the edges and is still in Alpha stage.
Ive been looking at Linux Mint LXDE. I tried the standard Linux Mint a few months ago - which is Gnome based - and it didnt run well on my hardware but an LXDE version might be different.
Has anyone used Linux Mint LXDE? Do you know how it compares to Lubuntu in terms of memory usage? Is it any good?
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal.
--- IBM ThinkPad 600 running Windows XP & Lubuntu 10.04 & Apple iBook G3 running OSX 10.4.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
Hi
Im in Lubuntu and was playing around with the theme/appearance settings under Preferences/OpenBox Configuration Manager.
I can change the theme, so it changes the colour of menu bars etc... but it only does half a job. It shows you a menu which looks the same as the menu bar/colours but mine doesnt change.
Also the main LXDE menu stays as it was before, same fonts and colours.
Anyone know why? I tried rebooting but no change.
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal.
--- IBM ThinkPad 600 running Windows XP & Lubuntu 10.04 & Apple iBook G3 running OSX 10.4.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Hi
Im in Lubuntu and was playing around with the theme/appearance settings under Preferences/OpenBox Configuration Manager.
I can change the theme, so it changes the colour of menu bars etc... but it only does half a job. It shows you a menu which looks the same as the menu bar/colours but mine doesnt change.
Also the main LXDE menu stays as it was before, same fonts and colours.
Anyone know why? I tried rebooting but no change.
Simon Royal
--- Twitter: http://twitter.com/SimonRoyal - LowEndMac: http://tinyurl.com/macspectrum - Skype: Simon-Royal.
--- IBM ThinkPad 600 running Windows XP & Lubuntu 10.04 & Apple iBook G3 running OSX 10.4.
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
>From Thinkpad wiki (http://www.thinkwiki.org/wiki/Unofficial_maximum_memory_specs)
Note last two lines.
Hope that this helps,
Mark (Who used to have a Thinkpad 240 :))
-------------------------------------------------------------
ThinkPad 600
? 288MB ? ?
* 416MB = 256MB low density PC100 SODIMM + 128MB PC66 SODIMM + 32MB PC66 on-board. It matters which SODIMM you put in which slot. This was first reported working on the Thinkpad Mailing List, and it worked error-free for me.
The 600E (2645-8A0) with Bios INET36WW accept two modules of 256MB. The ram modules have 8 chips on each side. That results in 544MB. (RAM Typ: Micron MT16LSDF3264HG-133E4 PC133 CL3 sync). Processor is an Intel PII 366 PE, installed platform is Windows XP Pro with SP3.
-------------------------------------------------------------
Sign hanging in Einstein's office at Princeton: Not everything that counts can be counted, and not everything that can be counted counts.