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 SkipVought 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. sharma29

    Extract single string from a file

    Have a file(contents of the file wibble.lis as below) [COLOR=red] Log file for RRV112T2 - Ad-hoc Bill Extract Table (Re-)Create PL/SQL procedure successfully completed. Started RRV112F2.sh - Ad-hoc Bill Extract Flat File (Re-)Create RRV112F2 - Extract file name...
  2. sharma29

    Add/append a line on the top of a txt file.

    What to add header line as the first line to a file created from a sql(oracle) file. The sql file output(output.txt) is as follows; REV|23453253||TEST TEST|DUMP NE23 5SD REV|23454345|2|TEST TEST|TEST NE49 The header line I was trying to add is "3P_CREDITORS" "5" "" "31-OCT-2008" which is in...
  3. sharma29

    convert line feeds to pipe char & reformat

    Thanks you so much Feherke!
  4. sharma29

    convert line feeds to pipe char & reformat

    The file has following type of data and need to reformat it "3P" "1" "" "28-AUG-1900" "REV" "5674023" "97418" "6946311" "" "TRAINING SOLUTIONS LTD" "REV" "940000" "97419" "6907016" "" "MR CN SIA GILL" Need the file to formatted like the following "3P" "1" "" "28-AUG-1900"...
  5. sharma29

    convert line feeds to pipe char & reformat

    <b>Is there something to say start processing at line 2 – eg </b> Header Record 4 The Beatles Liverpool 5 The Rolling Stones London 3 The Who London <b>And the result be </b> Header Record 4|The Beatles|Liverpool 5|The Rolling Stones|London 3|The Who|London Thanks in advance.
  6. sharma29

    ls -l | cut -f7 not working

    Many thanks guys the for i in `find . -type f` do .. done works with a ./<filename> But it is a good starting point for me. As I can use cut -c 3- to get rid of the ./ Thanks again. I will be definately using the forum again.
  7. sharma29

    ls -l | cut -f7 not working

    ls | while read fnm do "echo current file = '$fnm'" done There must be something wrong tried using bash shell and ksh and both come back as current file = '{}new.txt': not found same for every other file in the dir. new.txt is a file in the the current dir. SunOS 5.9 Generic_122300-08 sun4us...
  8. sharma29

    ls -l | cut -f7 not working

    Sorry be more specific, trying to do something like, hold the filenames one at a time and run through the loop doing few things. ls -l | cut -f7 loop sed 's/'&Civil Dev'/'and Rescue'/ file1 grep "New Account" >{file1}new.txt grep -v "New Account" >(file1)old.txt mv file1new.txt...
  9. sharma29

    ls -l | cut -f7 not working

    I am new to unix scripting, but I am trying to write something which can search a given directory pickup individual files for processing or passed into another script for doing some more work. Stumbled in the first hurdle, cannot get the file names on its own was trying ls -l | cut -f7 please...
  10. sharma29

    Using Java Web Start as a deployment technology

    If someone has used Java Web Start, could I know the necessary steps necessary for deploying forms9i on 9iAS Rel 2. The idea being that my application is independent of the browser viz IE and NetScape. I am new to Java so any help is appreciated.

Part and Inventory Search

Back
Top