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 gkittelson 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. rajeshtektips

    How to call awk in shell script...

    Sorry, I am new to awk and shell program. I was modifying the existing coding using awk function...and I don't know awk will execute shell instructions or not. Please let me know whether it can be possible or not..and how? Thanks Raj
  2. rajeshtektips

    How to call awk in shell script...

    Hi , I am invoking awk in shell script and its giving the below error.. syntax error The source line is 7. The error context is $ORACLE_HOME/bin/sqlldr >>> safety/safety@ <<< awk: The statement cannot be correctly parsed. The source line is 7. syntax error The...
  3. rajeshtektips

    finding duplicate files

    here is the code.. #!/bin/sh #--- Set the environment COMPMAN_TOP=/u61/compman; export COMPMAN_TOP SCRIPT_DIR=$COMPMAN_TOP/scripts; export SCRIPT_DIR DATA_DIR=$COMPMAN_TOP/incoming; export DATA_DIR LOG_DIR=$COMPMAN_TOP/log; export LOG_DIR BACKUP_DIR=$COMPMAN_TOP/backup; export...
  4. rajeshtektips

    finding duplicate files

    Hi friends, Thanks for all you support ... In this code we are comparing the incoming file size with the existing files size. If the incoming file size is 123 and one of the existing file size is 1234 still it gives me as duplicate file. How should handle this? Thanks raj
  5. rajeshtektips

    finding duplicate files

    motoslide, I created the .sh file in unix...and also I changed the NEWSUM,it is giving the below result "duplicate.sh[14]: [31644: not found. duplicate" Even if incoming file is new it displays "duplicate" in the output. Please find the code below.. #!/bin/sh #--- Set the environment...
  6. rajeshtektips

    finding duplicate files

    olded, Thanks for ur code... Just modified ur code and tried to run, it is giving error "COMPMAN_TOP^M: This is not an identifier." Pls find below my code.. #!/bin/sh #--- Set the environment COMPMAN_TOP=/u61/compman; export COMPMAN_TOP SCRIPT_DIR=$COMPMAN_TOP/scripts; export SCRIPT_DIR...
  7. rajeshtektips

    finding duplicate files

    Hi, Iam new to shell scripting, and immediately need to write a shell script to find whether the incoming file is already exists in the directory or not. Requirement is... Daily we will get some files located in Incoming Folder.After that file is loaded to database the file is moved to Bakup...

Part and Inventory Search

Back
Top