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 TouchToneTommy 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: *

  • Users: d0vgan
  • Content: Threads
  • Order by date
  1. d0vgan

    One of the most frustrating AWK programs

    Recently I wrote the following fragment in AWK by accident: A = "a" B = "b" { } END { print A, B } And the result completely blowed my mind up. Just try to run this code against e.g. the following input file: 1 2 3 and enjoy the result. The AWK code above was actually a part of a bigger...
  2. d0vgan

    Possible bug in split() in awk95

    Hello, everybody. Does anybody use awk95 by Brian W. Kernighan? I think, I found a bug in realization of function split(), but I am not sure. Here is a sample code where you can see it: BEGIN { time = "10:30:00,000" split( time, a, ":" ) print a[3] # prints 00,000 - it's...

Part and Inventory Search

Back
Top