Dear All,
I have a file which I want to get the list of frequency of each word, ignoring list of stop words and now I have problems which punctuations and " 's ".
When I'm logging as a user(i.e., oracle), I don't find any files and folders in /home
Attached error message below, while logging...
Last login: Fri Sep 7 08:08:09 2012 from ko.domain
Could not chdir to home directory /home/oracle: No such file or directory
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have mail.
:wall::wall::wall::wall::wall::wall::wall:
I have a text which I divided them into sentences and now printed them in a rows.
I want to get the list of most of words ( the, and, a) and print 5 words after them (so 6 with the word itself). I have created an acceptfile with those rows and using grep but I have rows that have these words more than once but they are not being divided.
Is it possible to do it in one liner?
I have an output like this:
"First line" - Description
" Second line" - Description
"Third line" - Description
" Fourth line" - Description
This input is generated automatically.
I want to replace the first occurrence of " (quotation mark + space) with " (quotation mark) for each line.
I have loads of files in different directories which I do miner changed on them and till now I have to create totally new directories for them, specially as I deal with a whole directory at once :wall::wall::wall::wall:
it creates such as mess really
e.g.
Code:
FILES="F1/*"
for X in $FILES
do
name=$(basename $X)
sort $X
I have a file of 1.3 millions lines.
some are with the same word twice on the line, some line have two diffrent words.
each line has two words, one in brackets.
example:
foo (foo)
bar (bar)
thae (awvd)
beladf (vswvw)
I am sure this can be done with one line of awk of sed, but my brain is done for the day.
I know I can do it with shell, but it would run very s
Hi,
I have the next problem, i am triying to concatenate two variables with white spaces at the cornes, but the shell deletes them.
For example i have the next code:
A="Hello "
B="Hello"
echo $A$B
output: Hello Hello
You can see only one space between the words, and i put 5 space after the first "Hello".
How can i keep this spaces for cancat
I am facing a problem and I would be grateful if you can help me :wall:
I have a list of words like
Quote:
the and of ...
And I have a datafile like
the box ofthe box of tissues out ofof tissues out ofthe book, thethe book, the pen and thethe pen and the
But I need each of them to be saved in a different file so one file for the.*the an
I have a file like the following:
a,b,c,d,e,f
1,2,3,4,5,6
7,8,9,0,1,2
I need to join the last two lines with a comma, like so:
a,b,c,d,e,f
1,2,3,4,5,6,7,8,9,0,1,2
The problem is that this is all inside a loop that will add two new lines to that file, say
a,b,c,d,e,f
1,2,3,4,5,6,7,8,9,0,1,2
0,9,8,7,6,5
4,3,2,1,0,9
And now I need to do the same to that last line for the file to end like
a,