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 bkrike 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 patwat

  1. patwat

    How to split variable line with varied delimiters

    Added the "x" to the ps parameters and this works like a charm. Thank you so much
  2. patwat

    How to split variable line with varied delimiters

    Duh! I forgot the semi-colons. I think I like the script idea better, that way others can use it, too.
  3. patwat

    How to split variable line with varied delimiters

    Judging from the structure, and the error I got, I am guessing this needs to be within a script rather than being command line doable? Thanks for the tip. I'll give it a shot and let you know how it turns out.
  4. patwat

    How to split variable line with varied delimiters

    What I want to do: Parse the output from a verbose "grep" command and get just certain pieces of information. Sample output from grep: user123 12101 <variable collection of unwanted stuff> -nproduction_WebLive <maybe more unwanted stuff> The problem: I want the pid (here "12101") which is...

Part and Inventory Search

Back
Top