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 wOOdy-Soft 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 Arpa

  1. Arpa

    Search an indentation tool for C programs

    Could you help me please to find an identation tools for C ANSI programs which correctly works on NT. I tryed "indent.exe" but there are a lot of indentation bugs. Its version was probably too old. An generate the new one with GNU sources is complex and need a lot of time... Thanks you.
  2. Arpa

    AWK Script

    Here is ... awk -F '"' ' { Nb=split($4,Word,"\/") printf("command1 %s command2\n" , $2) printf("cp %s %s\n" , Word[Nb] , $4) printf("command %s command3\n" , $2) print "" }' toto.txt where toto.txt contains your data.
  3. Arpa

    how to use line feed separator in awk

    Thanks for your help but ... it doesn't work on my environment (NT + Gnu) The result is 78 78 78 0d 0a 79 79 79 instead of 78 78 78 0a 79 79 79.
  4. Arpa

    how to use line feed separator in awk

    I need to format a file where records are separated by only Linefeed (0a). I tryed several solutions which doesn't works. 1) echo "a" | awk 'BEGIN{ORS="\x0a" } {print "xxx";print"yyy"}' > toto Result: 78 78 78 0d 0a 79 79 79 0d 0a => Carriage return...

Part and Inventory Search

Back
Top