Online Tech Support Starts Here!
Shell script to convert lowercase to title case?
As part of a project I'm working on, I find myself deep in a Linux shell script, needing to have a subroutine that converts a sentence of all lowercase to title case. You know, from "this is a test case" to "This is a Test Case". Not every word, just the right ones. Doable?
Question answered on March 14, 2011 at 08:27 AM ::
Comments to date: 0
Can I script renaming files based on an XML data map?
I have a folder full of files which are named with four digits and a file extension e.g. 0312.file and an XML-file describing the contents of these files. I am trying to do a shell scipt that will create folders and rename these files according to the xml, but I don't know how?
This is a template of what the xml looks like:
<section label="AA. category">
<children label="topic" source="AABB.file" />
</ section>
The script should represent the categories as folders containing the related topics, which should be represented as filenames.
Question answered on November 3, 2010 at 08:25 AM ::
Comments to date: 0
Test for valid numbers in a Bash shell script?
In a different discussion on this site [see Redirecting input in a shell script] a visitor commented that "I was too busy trying to make sure the above post made sense that I forgot to ask for help. If you can, please post examples of how I can make the second argument a requirement and evaluate if it is a number. Thank you in advance!"
Question answered on October 25, 2010 at 07:35 AM ::
Comments to date: 0
Can iCal automatically make a Google Voice call?
I have a conference call every morning - same number, same access code. I'd like to set up iCal so that as one of the "reminders" Google Voice calls my phone and connects me to the conference call automatically. This should be possible... Can you figure it out?
Question answered on July 29, 2010 at 08:57 AM ::
Comments to date: 3
Why is shell script programming so fun?
Dave, can you tell me, how come I enjoy shell programming more than other types of programming (Javascript, Java or C)?
Question answered on March 9, 2010 at 08:00 AM ::
Comments to date: 2
How can I get started programming a Facebook app?
This is a guest article written by freelance programmer Ville-Matti Hakanpää
In this brief introductory tutorial I will go through some basic aspects of Facebook application development. The work itself is basic app programming, but it's a whole new world and environment. If you have a wonderful idea, Facebook can work as a great distribution channel for you. Heck, even a bad idea can get some attention fast!
Start out with the most basic of questions, though: what makes a good app?
That's the first and most common question people are asking or they should be asking. The best way to start when you're trying to decide what to develop is to look through all the other applications what are inside Facebook already. Facebook applications are listed and rated by users, so there's a feedback loop there too that tells you the kind of things people find useful and engaging.
Question answered on January 16, 2010 at 08:55 AM ::
Comments to date: 1
Update to Wicked Cool Shell Script #62: define.sh
This is regarding script #62 (define a word): Looks like WordNet has changed their online version again and I tried the following replacement for the url=
http://wordnet.princeton.edu/perl/webwn?s=
But the script doesn't return anything but goes back to the prompt. I tried the url with a word in lynx and I got the source. Could you push me in a general direction?
Question answered on April 14, 2008 at 08:39 AM ::
Comments to date: 2