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 fpmurphy

  1. fpmurphy

    automount not working on exported linux filesystems

    This should help you: http://www-uxsup.csx.cam.ac.uk/nfs-server/osf1.html
  2. fpmurphy

    trying to comment out the results of XSL:COPY-OF in a XSL file...help

    Follow on to previous post ... Looks like this forum mangles XML encodings even though I placed them within code blocks. Use "& # 6 0 ; ! - - ", without the spaces, for start of comment and " - - & # 6 2 ;", without the spaces, for end of comment.
  3. fpmurphy

    trying to comment out the results of XSL:COPY-OF in a XSL file...help

    This is what I use <xsl:text disable-output-escaping="yes"> <!-- </xsl:text> <xsl:copy-of select="descendant::node()[position()>2]"/> <xsl:text disable-output-escaping="yes"> --> </xsl:text>
  4. fpmurphy

    Vista Network Connection

    Are you using a wireless connection? If so, go into netsh wlan and remove all profiles. I find I sometimes have to do this if I am roaming a lot. Also do "arp -d *" from an elevated command prompt to clean out the arp cache.
  5. fpmurphy

    Run a external program?

    No
  6. fpmurphy

    UDP connections in C

    Just do Web search for "simple C UDP server". You will get many hits.
  7. fpmurphy

    korn shell testing input parameters

    Here is another way - using ksh93 regular expressions if [[ $1 =~ ^(report|run)$ && $2 > 0 ]] then echo "This is correct: $0 $1 $2" else echo "USAGE:$0 <report|run> <number> " fi
  8. fpmurphy

    UDP server recvfrom() always returns -1? :(

    You have a recv timeout set. Try removing that and see what happens. The error you are getting i.e. EAGAIN may just imply that you have timed out.
  9. fpmurphy

    Leading zeros in currency check

    Oops, I forgot to add back in the test for negatives in my previous post. Sorry Here is what I really meant to propose if ( Currency !~ /^(-?[1-9][0-9]*\.[0-9][0-9])$|^(-?0\.[0-9][0-9])$/ && Currency !~ "^[ \t]*$" )
  10. fpmurphy

    Leading zeros in currency check

    How about the following if ( Currency !~ /^([1-9][0-9]*\.[0-9][0-9])$|^(0\.[0-9][0-9])$/ && Currency !~ "^[ \t]*$" )
  11. fpmurphy

    udp recvfrom() returns no IP address

    Have you done socklen_t addrLen=sizeof(sourceAddr); before the recvfrom() statement?
  12. fpmurphy

    XLS to XML convertion

    No there is no way to export your macros to XML
  13. fpmurphy

    Different type of xml

    Sure XSL can handle diacritics. Just do a web search for "XSL unicode diacritics" and you will find lots of information. The XML recommendations explicitly says XML supports Unicode/ISO 10646. All XML processors must accept the UTF-8 and UTF-16 encodings of ISO 10646. ISO 10646 is an...
  14. fpmurphy

    Web app running 50x slower on locked down Vista machine

    Is your machine on a network or not? If not, I bet it is some network-related code timing out.
  15. fpmurphy

    How do I create a timestamp in a shell script?

    If you are using ksh93 you can also use printf "%(%s)T" to return the number of seconds since the Epoch. This avoids a call to an external utility such as date.

Part and Inventory Search

Back
Top