Hello PHV, thank you for the sample script, I made one little change to it so it would capture all the "." after position 204 and that was to change sub to gsub.
I can't thank you enought for the help!
May you win the lottery, as I feel I have.
Hello fellow scripters: I am a beginner Unix scripter and would like to know if there are Unix commands available that would find and replace a deminal point in a .txt file AT A CERTAIN POSITION in the file. I have records of 250 character length and want to only target if the decimal point in...
Hello scripters,
I am trying to write a shell script that calls another script when a file is not in either location. Ex...
if [[ ! -f "/myfile"]] and
if [[ ! -f "/nextfile"]] then
call2
fi
I can get it to work if one line is true but not when two are true. What...
Hello Fellow Scripters,
I am a novice at this so any help is greatly appreciated. I need to create a shell script that will check a directory for a file (call it Archive) and if it is NOT there with todays date send an email to 3 people with a message Ex. "Someone is sleeping on the...
Thank you, the cat syntax worked! I had tried the lp and lpr command and it didn't work and I thought it was because it was a serial printer. Either way it's printing now so I am happy.....thanks again, this site is a gold mind!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.