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

    PS finds a ghost

    Hello, I have problems executing a script in ksh with this script named process.sh: ps -ef | grep process.sh | grep -v grep | wc -l | read a if [ $a -gt 1 ] then echo "The script is running" exit 0 fi The problem is that when I execute the script, sometimes it shows the message...
  2. jlguirao

    PS problem

    Hello, The reason that I write "wc -l|read a" is because the count return 1 because the "ps" is executed in the same script. My idea is that nobody execute 2 times the same script, only on time. Thanks.
  3. jlguirao

    PS problem

    Hello, I have problems executing a script in ksh with this script named process.sh: ps -ef | grep -v grep | grep process.sh | wc -l | read a b if [ $a -gt 1 ] then echo "The script is running" exit 0 fi The problem is that when I execute the script, sometimes it shows the message...
  4. jlguirao

    List of dtd paths

    Hello, Is it possible to make that a parser searches for other paths that aren't in the xml file? With an environment variable? Thanks.
  5. jlguirao

    Select & Insert

    I haven't Perl. I need to make it with a Unix script.
  6. jlguirao

    Select & Insert

    Hello, I want to make a script that given a <tag1> finds all the lines between <tag1> and </tag1> on a xml file and inserts this string after another </tag2> of another given xml file. In other words: find a string between <tag1> & </tag1> on file1 and insert it into file2 after </tag2>...
  7. jlguirao

    Search and Insert data

    Hello, I want to make a awk script that given a pattern finds a record on a file and inserts this record after another patter into another given file. In other words: find record with pattern1 on file1 and insert it into file2 after pattern2. Any ideas? Thanks in advance.

Part and Inventory Search

Back
Top