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 IamaSherpa 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. jwleger

    Need some help porting xwindows perl to CGI

    I need some help in choosing methodolgy or tool kit, or something, to port a PERL app to CGI. I have written an app that allows browsing, creating, deleting, dissection and/or manipulation of db objects. It runs quite well in xwindows using cursor positioning. There are about 20 different...
  2. jwleger

    Need direction for porting xwindows pgm to CGI

    I need some help in choosing methodolgy or tool kit, or something, to port a PERL app to CGI. I have written an app that allows browsing, creating, deleting, dissection and/or manipulation of db objects. It runs quite well in xwindows using cursor positioning. There are about 20 different...
  3. jwleger

    Want to know how many times user has su'd

    Is there a command to tell me how many users deep I am after using su? I use su all day long keeping many windows open on different machines and different users depending on the job at hand. How can I tell if the current session running in any xterm window, is the initial window, or some level...
  4. jwleger

    print formatting a long fetched from Oracle

    Thanks, but I figured it out. Didn't see the \n's earlier. Below: $nxt_ln has the fetched long ============================= while ($nxt_ln =~ m/\n/g) { if ($i == 0) { $old_pos = 0; } else { $old_pos = $start_pos ; } $start_pos = pos $nxt_ln; $trig_data =...
  5. jwleger

    print formatting a long fetched from Oracle

    Sorry about no example, here it is, and the column name is TRIGGER_BODY. Here is what it looks like when fetched ========================================================== BEGIN IF ax_setup_pkg.ax_exists (:NEW.org_id...
  6. jwleger

    print formatting a long fetched from Oracle

    I have fetched a long, but have been unable to print it in a format that useful. I want to print it as it was before it was stored. I find that if I write it to a file it looks fine and then I could read it back in, but would prefer to create a array of print lines for browsing. I have also...
  7. jwleger

    Awk print formatting

    Thanks to both of you but, since I'm not married to awk, I am using this sed script. sed -e :a -e 's/\(.*[0-9]\)\([0-9]\{3\}\)/\1,\2/;t a'
  8. jwleger

    Awk print formatting

    How do I output large numbers is the format NNN,NNN,NNN..., using awk print or printf. Please give me an example. such as : ls -l|awk '{Tbytes += $5} END {print "Total Bytes " Tbytes}' Only output the total bytes in format NNN,NNN,NNN Thanks, Joe

Part and Inventory Search

Back
Top