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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by denisl

  1. denisl

    array or hash output

    Thanks that worked perfect! Sorry for the late thanks - was on vacation!
  2. denisl

    array or hash output

    Hi, I built 2 arrays they are: @virtuals and @physical Each array will have 2-5 elememts in them. What I'm trying to do is, for each element in the array create 2 variables. The first variable will be the element and the second variable will be all the other elements in both the @physicals and...
  3. denisl

    Send text to output file

    Okay - learn something new everyday... ugh! Thanks!!!!
  4. denisl

    Send text to output file

    I want to send a bunch of line to an output file - my script is creating a configuration file. I want to do something like this but not sure how.. outputfile.config< text of file lines of configs yada yada yada >>EOF
  5. denisl

    setting priority of disk stgpool migration process

    Preemption can only be turned off or on. Preemption is described in the admin guide: Preemption of Client or Server Operations The server can preempt server or client operations for a higher priority operation when a mount point is in use and no others are available, or access to a specific...
  6. denisl

    Writing to console and a file handle

    Kevin - that would mean I have to issue a 2 prints, 1 for logfile and one for console.. Nothing more efficient?
  7. denisl

    Writing to console and a file handle

    I'm only whant to send to the logfile what I print to the console.. Not debug info.. In ksh I do: echo "information" | tee -a logfile
  8. denisl

    Writing to console and a file handle

    How can I have a print command send output to a file handle for logging and to the console?
  9. denisl

    startup script as non-root user

    When using su I need to pass the script to the su command.. for example.. script1.sh: su nonroot "script2.sh" script2.sh touch nonrootfile Is there a way I can run script2.sh without calling it from script1.sh? The startup script is a few hundred lines and I don't see how I could pass that...
  10. denisl

    startup script as non-root user

    I have a startup script linked from /etc/init.d to /etc/rc3.d. When the system boots root starts the script and owns the processes. How can I have the script started as a different user? Thanks.
  11. denisl

    Windows backslash and regular expression

    Thank you. You've been a great help.
  12. denisl

    MOVE DATA

    You can update your filling vols to reado in the stgpool except for the target for your move data. Issue your move data and once the process kicks off put the other filling vols back to readw.
  13. denisl

    Windows backslash and regular expression

    MillerH - like you said, the back slashes are patterns in the file so your solution looks like the way to go. I have one more question.. You've showed me a 2 new RE operators \Q and \E. I read in perldoc perlfaq6 but I don't fully understand its need. Can you explain or maybe direct me to a...
  14. denisl

    Windows backslash and regular expression

    I'm trying to find a directory path in a file and can only get it to work with 3 back slashes. sample file: this is a sample file line here is C:\directory\match another line script to find the directory path named in the file: $path = "C:\\\directory\\\match"; open IN, "samplefile" or die...
  15. denisl

    pop-up on fresh apache server install

    I sent an email to zoneedit.. Looks like they were bought out and are now a POS service. Time to go elseware..

Part and Inventory Search

Back
Top