./view_result.sh: line 6: STR: command not found
./view_result.sh: line 9: STR: command not found
./view_result.sh: line 9: STR: command not found
./view_result.sh: line 9: STR: command not found
./view_result.sh: line 9: STR: command not found
./view_result.sh: line 9: STR: command not found
hey guys..
probably a simple question but i cant seem to find any info on it.
i have a small array of strings, and i want to concatenate the contents of the array into one big string.
any ideas on how i can do this?
cheers. (2 Replies)
Hi all,
Think this is a pretty simple problem, but I've been thinking about it for a few days. Let's say that I'm going to have to output the contents of a file as the body of a mailx message.
I'll probably do this: cat <filename> | mailx <extra commands>
However, how do I go about doing... (1 Reply)
Hi,
Well as the title says, I have an array of strings (delimited by null). The length of the array is variable and length of each string is variable as well. What I need is one huge string with the original strings in the array separated by spaces.
For example is an array is such that array... (12 Replies)
I m new to shell scripting and what i want is take as an i/p from command line the name of the file and inside my script i should redirect the o/p of my few commands to this file concatenated with .txt
for example if i give
./linux filename
i should get the o/p in filename.txt
i need to... (2 Replies)
Hello,
I'm trying to run a program on a directory (traverse sub dirs too) through my csh script. Arrays support in CSH is appalling, something like associative arrays would have helped me do this so much easier.
Anyway, I want to hold some details extracted from the program and then at the... (0 Replies)
I have these
str1=$(echo "This is string one with spaces \n This is also my sentence 1")
When I echo $str1, it displays the new line character properly.
Now I have another new variable say str2.
I want to concatenate in this way.. str1 + newline character + and then str2.
That's I... (3 Replies)
Hi Friends,
I'm new to shell scripting and trying to concatenate two Strings to create a filepath like string but I'm getting an unexpected result.
here is my code for 'runToneUserLoad.sh':
script_dir="$(dirname $0)"
echo "Script Dir:$script_dir"
dirtest1="/installedUtility"... (6 Replies)
Alright, so I'm writing a file for the lexical analyzer (lex). It will be used to check C code (collecting the identifiers and storing those names along with the line numbers the identifier was found on). I'm not used to 'C' so I'm having some difficulty.
I am using a function (insertId()) to... (4 Replies)
Hello All Unix Users,
I am still new to Unix, however I am eager to learn it..
I have 2 files, some lines have some matching substrings, I would like to concatenate these lines into one lines, leaving other untouched. Here below is an example for that..
File 1 (fasta file):
>292183... (6 Replies)
Discussion started by: Mohamed EL Hadi
6 Replies
LEARN ABOUT OSX
mecab
MECAB(1) MeCab MECAB(1)NAME
mecab - manual page for mecab of 0.95pre1
SYNOPSIS
mecab [options] files
DESCRIPTION
MeCab: Yet Another Part-of-Speech and Morphological Analyzer
Copyright(C) 2001-2007 Taku Kudo Copyright(C) 2004-2006 Nippon Telegraph and Telephone Corporation
-r, --rcfile=FILE
use FILE as resource file
-d, --dicdir=DIR
set DIR as a system dicdir
-u, --userdic=FILE
use FILE as a user dictionary
-l, --lattice-level=INT
lattice information level (default 0)
-D, --dictionary-info
show dictionary information and exit
-a, --all-morphs
output all morphs(default false)
-O, --output-format-type=TYPE
set output format type (wakati,none,...)
-p, --partial
partial parsing mode
-F, --node-format=STR
use STR as the user-defined node format
-U, --unk-format=STR
use STR as the user-defined unk format
-B, --bos-format=STR
use STR as the user-defined bos format
-E, --eos-format=STR
use STR as the user-defined eos format
-x, --unk-feature=STR
use STR as the feature for unknown word
-b, --input-buffer-size=INT
set input buffer size (default 8192)
-P, --dump-config
dump MeCab parameters
-C, --allocate-sentence
allocate new memory for input sentence
-N, --nbest=INT
output N best results (default 1)
-t, --theta=FLOAT
set temparature parameter theta (default 0.75)
-o, --output=FILE
set the output file name
-v, --version
show the version and exit.
-h, --help
show this help and exit.
mecab of 0.95pre1 March 2007 MECAB(1)