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 Mike Lewis 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. elwayisgod

    Searching a directrory for unlimited number of files as arguments

    Thanks Rod, I need the first variable so shift would not delete it. How would I validate the directory from the command line? Thus if the directory does not exist then "You entered a invalid Directory", then I can exit the script and make them start over. Sam
  2. elwayisgod

    Searching a directrory for unlimited number of files as arguments

    Hi, I want to write a script that will be invoked at command line by: searchdir.ksh /home/stoteve file1 file2 file3 Where I can type as many file arguments. Then the script will read the directory as argument $1 then loop through all the other arguments searching for the file. I would like...
  3. elwayisgod

    Help with Korn Shell Script

    PHV, I can change it to say, "Please enter fields you would like to see separtated by a comma Ex)1,2,3 Dont know how to put 1 and 3 to where I get columns 1 and 3 in my output. sam
  4. elwayisgod

    Help with Korn Shell Script

    I have a script that needs to ask user where the data file is and what the data file name is and then ask what fields to show. There are only 3 fields, but I can't figure out how to allow it to put in multiple fields. I can get it to work where it asks for 1, but if I need it to know that 1,3 is...
  5. elwayisgod

    Decode Funcion Help

    Hi, I need to write a decode on a field 'MCO'. If the zip code is between 00000 and 14999 then MCO = 413, if zipcode is between 15000 and 39999 then MCO = 414... and so on.. How do I do this? Thanks
  6. elwayisgod

    Schedule Maker in Excel Help

    Hi, I'm trying to create a spreadsheet that will make a workd schedule for me. Basically I have 56 persons to schedule in two shifts each day (Morning and Night). I rank the employees by priority, thus the person with a priority of 1 gets priority over someone with a 10 ranking. I would like...
  7. elwayisgod

    Combining Like Rows

    Worked perfect... Thanks, not a perl programmer....
  8. elwayisgod

    Combining Like Rows

    Hi, I have a .csv file that has thousands of rows. Many of the rows are the same except for last field which is the amount field. Below is just two rows from it. I need to know how I would combine the rows so it shows 1 row with the last field showing -2857.69. My output would read...

Part and Inventory Search

Back
Top