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
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...
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?
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)?
never mind:
http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_thread/thread/cee296a194e4d7d4/40cd46e53f973c09?q=multiple+lines&rnum=2#40cd46e53f973c09
never mind:
http://groups.google.co.uk/group/alt.msdos.batch.nt/browse_thread/thread/cee296a194e4d7d4/40cd46e53f973c09?q=multiple+lines&rnum=2#40cd46e53f973c09
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...
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...
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.)...
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
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...
Thanks, tbushmaker.
My understanding of scoping is that the "i" inside the subroutine getline() will not clash with the "i" in main().
Am I misunderstanding you to say that they do clash, or do I misunderstand teh scoping rules?
Appreciate the help,
John
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.