Home / Software / BSD, Linux, and Unix / Need help creating a shell function!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Need help creating a shell function!  (Read 601 times)
Act1WithMe
Topic Starter
Newbie



Posts: 2


« on: May 28, 2010, 02:04:05 AM »

I'm trying to figure out how create a shell function, which should accept two arguments assumed to be numbers. The function's output should be the lesser of the argument, meaning it should output the lower number.

Can anyone help?

I'm using Bash.
IP logged
Pages: [1] - (Top) Print 
Home / Software / BSD, Linux, and Unix / Need help creating a shell function! « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.134 seconds with 20 queries.