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

    find text in file & cut into new file

    fantastic, thankyou very much for your prompt responses
  2. JasonCooper

    find text in file & cut into new file

    we're getting there :) i must have strange version of awk !! that command deletes the lines containing '5' in position '17' but the next line(s) are simply moved to the end of the file rather than deleted !!??
  3. JasonCooper

    find text in file & cut into new file

    the awk you suggested to delete the lines with "5" in character position 17 from the original file results in: awk: syntax error near line 1 awk: bailing out near line 1 sorry, i have no experience of using awk, any suggestions ? thankyou
  4. JasonCooper

    find text in file & cut into new file

    thats fantastic, the substr works a treat, thankyou. how would i then go about deleting those lines identified by that awk from the original file ? many thanks, you're a star
  5. JasonCooper

    find text in file & cut into new file

    thankyou for the quick response Feherke, I've tried awk '$17=="5"{print;getline;print}' inputfile >outputfile but the outfile is empty, am i being really silly and missing something obvious ??!! thankyou
  6. JasonCooper

    find text in file & cut into new file

    Hi, I need to script the following: find lines containing '5' in position 'x' and cut that line plus the next line into a new file. Any help would be greatly appreciated Many thanks in advance Example file below: 10 451125158200601000400091210101 701 125.51 40 4511251582006...
  7. JasonCooper

    Soft deletions not showing all deleted documents

    HELP ! Most of our clients, Notes 5.06 / 5.08, have soft deletions enabled, set to 336hrs and a 'contains deleted documents' view called 'Recycle Bin'. For some very strange reason recycle bins are being cleared down much earlier than every 336hrs. Take for instance yesterday, my recycle bin...
  8. JasonCooper

    Fragmented tables

    Thanks very much mrn, sem and stefanhei. > sem, that makes interesting reading and makes alot of sense, we have no performance issues at the moment so I'm not going to lose any sleep over the extents at the moment. Many thanks everybody
  9. JasonCooper

    Fragmented tables

    Mike, Dima, I have tables with many extents, most under 10 extents the rest are between 25 - 100 extents. It's been recommended we defrag when a table reaches >5 extents. Thanks
  10. JasonCooper

    Fragmented tables

    Hi I need to 'defrag' some tables and wonder if the following method is the best way: 1. export table(s) 2. drop table 'tablename' cascade constraints 3. Import table(s) It's mainly the drop command I'm unsure about. Thanks
  11. JasonCooper

    Passing variables to ftp script

    >Jad Thanks very much for your reply, I'm going to tweek the second script and that should sort me out. Cheers and by the way, I did spend some time using the keyword search but couldn't find anything :( Posting a new thread was the last resort.
  12. JasonCooper

    Passing variables to ftp script

    Hi I have a Unix script that prompts the user for a response. I want to then pass this response to an ftp script that will do an mget on all files containing that value in the file names, ie: all FILES.*'user variable'*. Does anybody have ANY idea howto go about this ? Many thanks in advance JC
  13. JasonCooper

    Sequential numbering

    Solved it myself, thanks
  14. JasonCooper

    Sequential numbering

    I'm gonna be a real pain now !! I'm trying to call the following script from within a standard shell script. The script fails when run using cron but completes OK running from the command line. Any ideas ? £!/bin/ksh echo 'EXPORT - rename process for file: '$FILE typeset -Z8 EXP_NUM=$(<...
  15. JasonCooper

    Sequential numbering

    Thats fantastic, thanks very much sambones
  16. JasonCooper

    Sequential numbering

    Thats great, thanks very much William. Don't know why I hadn't worked that out myself !! Cheers
  17. JasonCooper

    Sequential numbering

    That's very simple and what I was thinking of doing BUT how do you the the increment bit !!?? Cheers
  18. JasonCooper

    Sequential numbering

    HELP !! I've written a little script that runs every 15 minutes to check a directory on a remote server and ftp any files found to a directory on our Unix server. The script then adds a suffix of .ddmmHHMM to each file. The user would like this suffix to be a sequential number, preferably...
  19. JasonCooper

    Unknown OFO error: 0xc000007f

    Qdog Many thanks for the your response. The technote was very useful and our backup has not failed with this error since. Thanks again.
  20. JasonCooper

    Unknown OFO error: 0xc000007f

    Hi I'm regularly getting the above error running BackupExec Version 8.0 Rev 3316. The only other 'error' messages are: OFO: Error during backup. Set has been aborted. Log then says Backup completed and eventually fails on the Verify with 'Unexpected end of backup set encountered'. Details...

Part and Inventory Search

Back
Top