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 wOOdy-Soft 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 grafman

  1. grafman

    Find a value in a variable

    If you would like to keep everything is a shell context and avoid the outside use of cut to enhance performance you can do it this way in bash ksh zsh and newer sh(posix) shells: #!/bin/bash parse() { count=0 var_in=$1 IFS='~' for value in $var_in do arrayval[$count]=$value ((count =...
  2. grafman

    AIX: how to script: Need to extract specific txt into new file?

    Here is a simple script to get you started on your way to doing what you want. This works in ksh sh bash and zsh # start script while read line do if echo $line | grep "^[0-9]" > /dev/null then fout=`echo $line | awk ' {print $1} '` fileout=acct_${fout} fi echo...
  3. grafman

    Learning Progress

    Whitestar software is owned by "John Campbell" in Palo Alto, Ca. Here is the link. http://www.wss.com/ John's books on progress are considered the "bibles" for progress. Check out his articles on his website too. Don't hesitate to send John an email if you have...

Part and Inventory Search

Back
Top