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 bkrike 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 jjohnn

  1. jjohnn

    installing personal edition 10g

    I have a 9i client installed on my machine and I have downloaded the 10g personal edition files. Is there anything I need to do to prevent any collisions or problems when I install the personal edition? Thanks
  2. jjohnn

    "unexpected newline or end of string" in XP script

    That does not seem to work for me: Q:\scripts\scrap>type dir2.bat dir | gawk "{printf \"%s \",$5}" Q:\scripts\scrap>dir2.bat Q:\scripts\scrap>dir | gawk "{printf \"s \",$5}" s s s s s s s s s s s Q:\scripts\scrap> Removing the format specifier does work in this case: Q:\scripts\scrap>type...
  3. jjohnn

    "unexpected newline or end of string" in XP script

    dir | gawk "{sub(/n, ,$0}" on Win XP gives the error above. dir | gawk "{print $5}" lists the files, one to a line. I want to remove the newlines. Any suggestions?
  4. jjohnn

    Text table advantages and disadvantages

    I have need of a "read-only" set of tables, built from text files on the order of 10GB total. Other than the inability to perform DML on them, are there disadvantages to using Text Tables (i.e. is there is speed hit in queries)?
  5. jjohnn

    multi line batch script problem

    never mind: http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_thread/thread/cee296a194e4d7d4/40cd46e53f973c09?q=multiple+lines&rnum=2#40cd46e53f973c09
  6. jjohnn

    gawk with WinXP not sure where to post

    never mind: http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_thread/thread/cee296a194e4d7d4/40cd46e53f973c09?q=multiple+lines&rnum=2#40cd46e53f973c09
  7. jjohnn

    gawk with WinXP not sure where to post

    I am trying to run the first awk script in O'Reilly's Sed and Awk, using a .bat file instead of Unix shell script. The script only works if it is on a single line in the .bat file. Original unix script: gawk -F, '{ print $4 \", \" $0 }' $* | sort | gawk -F, '$1==LastState{ print...
  8. jjohnn

    multi line batch script problem

    I am copying an awk script from a book, trying to translate it to Windows XP from unix. It works if I put it all on one line in the script, but otherwise I get error messages referring to the line breaks. I tried ending the line with forward or backward slashes (a la C programming), but to no...
  9. jjohnn

    use case question for xsl fo

    I have a simple task that I believe can be accomplished with xml-fo. I hope somebody can shed some light on how to approach this, as I am newbie with XML I have a repository of excerpts, each a few paragraphs long, each with a title. I need to make custom documents, with formatting (bold, etc.)...
  10. jjohnn

    simple makefile compilation question

    Got it. For my source named "squeeze2.c": SRC=squeeze2.c EXE=sq RM=del CC=gcc CFLAGS= -ansi -Wall -pedantic DEL= del $(EXE): $(SRC) $(CC) $(CFLAGS) $(SRC) -o $(EXE) clean: $(RM) $(EXE)
  11. jjohnn

    simple makefile compilation question

    I tried this: TARGET=a.out DEPEND=printf.c GCC=gcc -Wall -pedantic $(TARGET):$(DEPEND) $(GCC) -o$@$^ and ran make printf.c my shell returned: make: ***No rule to make target 'printf.c'. Stop. shell returned 2 Any hints
  12. jjohnn

    very puzzled; compiles but nothing happens

    Got it to work. Thanks for your help, everyone. /*removecoms.c * K&R exercise from first chapter* * removes c comments from a program */ #include <stdio.h> #define BUFFSIZE 1000 int getline(char line[], int maxline); int endcomm(char s[], int ind, int len); int startcomm(char s[], int...
  13. jjohnn

    very puzzled; compiles but nothing happens

    Thanks, tbushmaker. My understanding of scoping is that the &quot;i&quot; inside the subroutine getline() will not clash with the &quot;i&quot; in main(). Am I misunderstanding you to say that they do clash, or do I misunderstand teh scoping rules? Appreciate the help, John
  14. jjohnn

    simple makefile compilation question

    Thanks. Is the alias possible in Windows NT (which is where I do most of my work)? I looked in the help screen of teh command prompt window and the general NT help, but couldn't find anything. John
  15. jjohnn

    simple makefile compilation question

    Thanks. What do $@ $$@ $(OPS) mean? what is teh &quot;touch&quot; doing? John

Part and Inventory Search

Back
Top