|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
Hi all!
I just finished writing a script to be run on Solaris 5.8. The script compares 2 files to check for similarities. It works very well, but it took me forever to write it since i am a beginner. I used bash for it. The deadline is in 2 days and I just realise today that actually I am not supposed to use bash (#!/bin/bash) but only sh (#!/bin/sh). Obviously i just tried to run it as sh but since bash has more advanced functions, I got error messages such as arrays..... Coud anyone please help me to modify my script, I am getting so desperate.... PLEASE, any help is welcome, I would be so so so grateful! please find a zip file attached with the script and 2 little text file to run the script. Script to be run as : script.sh file1.txt file2.txt Thank you so much! Chris Jones |
|
#2
|
||||
|
||||
|
Google
google has a boatload of bourne shell tuts. read them. this, being a homework assignment, is as far as i'm going to help in this matter.
http://www.google.com/search?hl=en&...ing&btnG=Search
__________________
"Never hold your farts in. They travel up your spine, into your brain, and that's where you get crappy ideas from..." - Woyaya - January 10, 2004
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Adapt Bash script to sh script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|