Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Shell Scripting
Name: Joseph Date: April 29, 2003 at 04:45:50 Pacific OS: debian CPU/Ram: 200
Comment:
Hello,
I have got a problem with a script. I need to interpret a script from AIX to LINUX. But i cant find any command simmilar to the AIX newform command.
"The newform command takes lines from the files specified by the File parameter (standard input by default) and writes the formatted lines to standard output."
I need to read in the content of many files and put it out in one file without changing the format.
This is the part of the script with the newform command:
process_it() { ls $par1 2>/dev/null | ( while read par1 do newform $par1 >isc_work00 if test -w $par2 then echo "\n\c" >>$par2 else echo "\n\c" >>$par2 fi cat isc_work00 >>$par2 log_it "Datei $par1 an Datei $par2 angehaengt" save_it $par1 rm $par1 log_it "Datei $par1 geloescht" done ) }
Summary: Write a shell script file called letter1. After running the script, it will prompt the user, for an English alphabet, confirm the alphabet chosen, and then search the current directory for all the fil...
Summary: Shell Scripting -- Variables In the main script i have exported the variable and accessing it in another file but when i echo the value the value of the exported variable is not viewable . below are ...