Search Results

Search: Posts Made By: mark_nsx
21,571
Posted By mark_nsx
we're asked to use makefile for this project.. i...
we're asked to use makefile for this project.. i ran it and it gave me this error..
thanks for d help :)


/bin/sh: syntax error at line 1: `end of file' unexpected
make: *** [all] Error 2
21,571
Posted By mark_nsx
java Makefile
Ive been trying to write a simple Makefile to compile *.java files to *.class files that reside in different directories.


-- main_dir ----subdir1
-----subdir2
[code]...
3,629
Posted By mark_nsx
its ok now :)
its ok now :)
3,629
Posted By mark_nsx
i removed the echo before the assignment...hope...
i removed the echo before the assignment...hope it doesnt hurt the
code's function.


exec < "$STOP_LIST"
stoplist=" "
while read word ; do
stoplist="${stoplist}${word} "
done

...
3,629
Posted By mark_nsx
how do i prevent the echoing of the whole...
how do i prevent the echoing of the whole stopword list to stdout? thanks
3,629
Posted By mark_nsx
thanks ill try it later. so 'x.doc' is the...
thanks ill try it later. so 'x.doc' is the document that i wish to filter right?
thanks! :)
2,216
Posted By mark_nsx
ive managed to extract the whole line where the...
ive managed to extract the whole line where the words i want occur by
awk '/\[[6-8]\]/' myfile
now i need to pick it apart...
2,216
Posted By mark_nsx
extracting some words
i run a command that submits a word to WordNET which stores the search results in a document which looks like this... i searched "car" in this instance
and id like to extract [6]auto, [7]automobile,...
3,629
Posted By mark_nsx
its just a list of about ~20 words.. a word on...
its just a list of about ~20 words..
a word on each line. so the grep kills it huh?
it though that it can speed it up.. so what replacement can u
suggest for grep? a cat of stopwords.txt and an if...
3,629
Posted By mark_nsx
word filtering
i have written a script (word-filter) that filters certain words that are stored in a separate file (stopwords.txt) from a huge document set dir containing 2000 docs (docset/*). the filtered docs are...
4,553
Posted By mark_nsx
thanks for that!
thanks for that!
4,553
Posted By mark_nsx
script run timer
any of you guys have a script for measuring the run time of any given script, where you would sandwich your own script between the timer script or something? thanks! :)
5,349
Posted By mark_nsx
so the -f option made the difference! thank God...
so the -f option made the difference! thank God its works now..
ive been stuck on this problem the whole day!
you're a genius vino! :) :) :) many thanks!!!!
5,349
Posted By mark_nsx
its complaining about line 3... ./test:...
its complaining about line 3...

./test: syntax error at line 3: `$' unexpected
5,349
Posted By mark_nsx
yes that works, but i want to test if the current...
yes that works, but i want to test if the current word in $word variable in my original script is equal to the '*' character...
5,349
Posted By mark_nsx
sorry. yup i did..unfortunately none of them...
sorry. yup i did..unfortunately none of them worked to help the situation..
5,349
Posted By mark_nsx
'*' character problem
the following code does.....
- accepts a document (text), scans through it word for word,
- finds out if the current word is in the stoplist
- if it exists, ignore word, otherwise write it to a...
5,349
Posted By mark_nsx
thanks very much Vino :) if i could just...
thanks very much Vino :)

if i could just detect the '*', i can just not write it out to the output-file
to make matters easier.
5,349
Posted By mark_nsx
the problem is detecting that $word is equal to...
the problem is detecting that $word is equal to the '*' char
5,349
Posted By mark_nsx
sorry i did not make myself clear.. i wanted...
sorry i did not make myself clear..

i wanted to read each word from the file,
if its a '*', echo "\\*" >> $output-file (escape the '*')
else, echo "$word" >> $output-file
5,349
Posted By mark_nsx
im using #!/bin/bash at it doesnt give any errors...
im using #!/bin/bash at it doesnt give any errors and doesnt write anything to stdout.

here's a sample of the text file im reading.. the problem arises from that single
'*' character just above...
5,349
Posted By mark_nsx
still doesn't work.... :confused:
still doesn't work.... :confused:
5,349
Posted By mark_nsx
bash script help: escaping the '*'
hi there. i have a simple bash script that reads a word from a text file
one at a time, and if a '*' character is encountered, it prints a message.
however it doesn't work as i expected. :o what...
1,910
Posted By mark_nsx
Thanks Ygor its works :) a new problem.. ...
Thanks Ygor its works :)

a new problem..
situation: two text files $TOPICS and $TITLES with the same number
of entries, one per line.
problem: i want to read in the same line number in...
1,483
Posted By mark_nsx
PERL question
im trying to retrieve text in between <title> tags of a tagged document, store the text in a temporary file, feed that file into a porter stemmer program, capture the stemmer's output by piping it...
Showing results 1 to 25 of 28

 
All times are GMT -4. The time now is 04:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy