LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[CLUG] Shell script newbie

[CLUG] Shell script newbie

Jean-Pierre Thibert jpthibert at eircom.net
Wed Jan 7 21:23:45 GMT 2009


Hi everybody and happy new year,

I'm learning shell script and have some questions. Could you help me?

1)I have a variable with a value between 00.00 to 100.00 (ie : 12.58)
I want to extract the integer. Something like X=int(MYVAR)
How to do that? I didn't find out after a lot of research.

2) I think wget command has an output only as a file not a variable.
Am I right?

3) I tried to find a script commands reference on Internet and a 
detailed training unsuccessfully.
Have you some good links?

Thank you for your help

-- 
Jean-Pierre



More information about the Cork mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell