Bash Script wanted - ALL common denominators of a set of num…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Steven M. Klass
日付:  
題目: Bash Script wanted - ALL common denominators of a set of numbers
Hello again,

    Hey I have a script request.  I am looking for a bash script that finds and 
print all common (integer) denominators of a set of numbers.


Example:

Given the numbers 12, 18 and 24
You get back 1, 2, 3, 6

Could someone help me on this

Thanks
--

Steven M. Klass
Physical Design Engineering Manager

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 480-940-6200 ext. 18
Fax: 480-940-4255


http://www.andigilog.com