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

    page break in awk

    Dang ... doesn't get any easier that that. Thanks!
  2. kwasserman

    page break in awk

    I need to insert a page break (“\f”) in front of the first header line of a report, like this: “\f”LP240 Date 06/21/10 I’m using the following awk code: awk '{sub("LP240","\fLP240");print}' inputfile > outputfile This works and inserts the page break, but I only want to do this for the...
  3. kwasserman

    escape the backslash for Windows pathnames

    WINDIR="E:\\\\home\\\\directory\\\\" This one worked. Thanks!
  4. kwasserman

    escape the backslash for Windows pathnames

    I'm trying to use the following awk script to output a Windows batch file that will create home directories for new users on a Windows box. The script reads from a newuser.txt setup file and pulls the username from the second field. Since Windows uses backslashes for directory paths, I need to...
  5. kwasserman

    event 9661 with no IMF installed

    The app event log on our Exchange 2003 server is registering event 9661 for the MSExchangeIS service, with the following description: The Unsolicited Commercial Email default filter level has been updated. The new value is 8. The problem is that we haven't installed the Intelligent Message...
  6. kwasserman

    Passing variables to awk

    PHV, your fix worked. Thanks much!
  7. kwasserman

    Passing variables to awk

    We have several large clients that have access to our UNIX system, and we set up their users within pre-defined user ID# ranges in /etc/passwd. I want to be able to find the highest user ID# used within a range and redirect the output to a temporary file (lastnum.tmp) for use in another script...

Part and Inventory Search

Back
Top