Re: [PLUG] accounting and excise billing on Linux

2010-03-25 Thread Prashant Shah
On Thu, Mar 25, 2010 at 9:30 AM, Sarang Lakare sarang.lak...@gmail.com wrote: What about online accounting softwares? If there is no online alternative to Tally yet, then there is a great business opportunity there :-) I know many people (including me) who have shifted form emal clients

[PLUG] How to test a string against a blank string in shell script

2010-03-25 Thread Shreerang Patwardhan
Hey all, How do we compare a string with a blank string. Example: String 1 = test String 2 = I have written a small script. Can anyone guide me to the error; if any; in it? Script: echo $1 $2 if [ $2 -a ] then echo 1 else echo 0 fi Output: Case I: ./test.sh 10

[PLUG] How to test a string against a blank string in shell script

2010-03-25 Thread Shreerang Patwardhan
Hey all, I found the solution to my problem which was as stated below: How do we compare a string with a blank string. Example: String 1 = test String 2 = I have written a small script. Can anyone guide me to the error; if any; in it? Script: echo $1 $2 if [ $2 -a ]

Re: [PLUG] How to test a string against a blank string in shell script

2010-03-25 Thread Gaurav Pant
Hi On Thu, Mar 25, 2010 at 5:43 PM, Shreerang Patwardhan patwardhan.shreer...@gmail.com wrote: Hey all,     I found the solution to my problem which was as stated below:    How do we compare a string with a blank string. Example: String 1 = test                String 2 = to test for a

Re: [PLUG] accounting and excise billing on Linux

2010-03-25 Thread Shridhar Daithankar
On Thursday 25 March 2010 10:03:25 Prashant Shah wrote: On Thu, Mar 25, 2010 at 9:30 AM, Sarang Lakare sarang.lak...@gmail.com wrote: What about online accounting softwares? If there is no online alternative to Tally yet, then there is a great business opportunity there :-) I know many

[PLUG] [OT] Announcing the availability of Ubiq-Freedom UTM

2010-03-25 Thread abhisek sanyal
Hi, This is an off-topic email. It is to announce the availability of the Ubiq-Freedom UTM. The Ubiq-Freedom UTM is available at https://sourceforge.net/projects/ubiq-freedom Ubiq-Freedom UTM is based on Linux From Scratch and has the following features - Firewall (shorewall + iptables) -

Re: [PLUG] How to test a string against a blank string in shell script

2010-03-25 Thread mahaveer darade
to compare a string with blank string u can do something like if [ X${str1} == X${str2} ] here even if either of string is blank it won't give any syntax error. ~md On Thu, Mar 25, 2010 at 10:09 PM, Gaurav Pant gaurav...@gmail.com wrote: Hi On Thu, Mar 25, 2010 at 5:43 PM, Shreerang