Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. njdnjd

    Find and replace a decimal point in file at certain position

    My apologies....futurelet, thank you for the script and see previous note.
  2. njdnjd

    Find and replace a decimal point in file at certain position

    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.
  3. njdnjd

    Find and replace a decimal point in file at certain position

    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...
  4. njdnjd

    Shell script if and if are true

    BRAVO! It works great. Thank you!
  5. njdnjd

    Shell script if and if are true

    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...
  6. njdnjd

    search for file, if not there email to mult people

    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...
  7. njdnjd

    syntax for printing to a serial printer

    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!
  8. njdnjd

    syntax for printing to a serial printer

    I am stuck on the syntax for printing a file to a serial printer. Any ideas?

Part and Inventory Search

Back
Top