Shell Scripting Help : Output Overlapping

Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Jan 2008
Posts: 11
Reputation: lankan is an unknown quantity at this point 
Solved Threads: 0
lankan lankan is offline Offline
Newbie Poster

Shell Scripting Help : Output Overlapping

 
0
  #1
Jan 5th, 2008
Hi,

I have a script, when I run it The output overlaps : Example

Instead of saying
Canadian 1.00 Dollar
it would say something Canadian Dollar00

I also need to know how to find the amount of decimal places in a variable and also how to check if a variable contains a comma (,)
and if it does contain a comma, I want it to output something like "Comma Found" if no comma then output " No Comma Found"


If you have msn messnger please pm me your msn ID. I really need help with this

I can't post the script because it's like 400lines..
Last edited by lankan; Jan 5th, 2008 at 11:31 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Shell Scripting Help : Output Overlapping

 
0
  #2
Jan 6th, 2008
Sent you PM on this site since I don't use MSN.

Cheers!

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Shell Scripting Help : Output Overlapping

 
0
  #3
Jan 8th, 2008
Hey There

Sent you email and PM with the fixes you were looking for. I don't want to post them for you, but your script wasn't too big to put up here.

Hope I helped you out

Thanks
, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Shell Scripting Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC