10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
This line is called in a windows batch file and I need to call the same 3 jars with Parms in a bash script.
cd "D:\ACDRIP\JARS"
java -cp ".\RIPError.jar;.\RIP31.jar;.\RIP31msg_en_US.jar" ResubmitErrors -Ahost -P185050
pause
Any ideas how to do this in Bash? (3 Replies)
Discussion started by: xgringo
3 Replies
2. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
3. Windows & DOS: Issues & Discussions
Morning,
I'm trying to execute a vbs from a .bat file. Can someone tell me what the difference is between these statements:
start c:\lib\runit.vbc
c:\lib\runit.vbs
When I run the batch with the 'start' parameter it doesn't seem to do anything. (1 Reply)
Discussion started by: Grueben
1 Replies
4. Windows & DOS: Issues & Discussions
Good morning all. I have been running into a problem running a simple gawk script that selects every third line from an input file and writes it to an output file.
gawk "NR%3==0" FileIn > FileOut
I am attempting to run this command from a batch file at the command line. I have several hundred... (6 Replies)
Discussion started by: 10000springs
6 Replies
5. Linux
Hi,
Do you know how to pass comand to rsync to backup a windows folder on a linux box?
I want to copy c:\\folder from windows to /data/tmp on linux.
I dont know how to pass the windows parameter to:
rsync -avz 192.168.1.4\c:\\folder /data/tmp
Thanks.
Charles. (3 Replies)
Discussion started by: mosndup
3 Replies
6. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
7. Windows & DOS: Issues & Discussions
Hi,
I need to check the file size using a batch script.
Pls advise. (0 Replies)
Discussion started by: krackjack
0 Replies
8. Shell Programming and Scripting
Hi everyone, let me get straight to the points.
My manager wants to execute a remote batch file (on a Windows server) from a UNIX Machine, does anyone know if this is possible and what packages would be needed?
Thanks
p.s. Sorry i cant give OS specifics, we use most UNIX's; AIX, Solaris,... (5 Replies)
Discussion started by: flip387
5 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Like in windows OS we have in unix something called "jobs"-term me if i am wrong- to run a sequence of steps which we can exceute at our own will without scheduling like corntab scheduling. can any one tell me what is the structure of this file and provide me with some info with this... (5 Replies)
Discussion started by: aixjadoo
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change:
I'd like to make a batch file which would connect to... (7 Replies)
Discussion started by: olgafb
7 Replies
KinoSearch1::Analysis::TokenBatch(3pm) User Contributed Perl Documentation KinoSearch1::Analysis::TokenBatch(3pm)
Add many tokens to the batch, by supplying the string to be tokenized, and arrays of token starts and token ends (specified in bytes).
NAME
KinoSearch1::Analysis::TokenBatch - a collection of tokens
SYNOPSIS
while ( $batch->next ) {
$batch->set_text( lc( $batch->get_text ) );
}
EXPERIMENTAL API
TokenBatch's API should be considered experimental and is likely to change.
DESCRIPTION
A TokenBatch is a collection of Tokens which you can add to, then iterate over.
METHODS
new
my $batch = KinoSearch1::Analysis::TokenBatch->new;
Constructor.
append
$batch->append( $text, $start_offset, $end_offset, $pos_inc );
Add a Token to the end of the batch. Accepts either three or four arguments: text, start_offset, end_offset, and an optional position
increment which defaults to 1 if not supplied. For a description of what these arguments mean, see the docs for Token.
next
while ( $batch->next ) {
# ...
}
Proceed to the next token in the TokenBatch. Returns true if the TokenBatch ends up located at valid token.
ACCESSOR METHODS
All of TokenBatch's accessor methods affect the current Token. Calling any of these methods when the TokenBatch is not located at a valid
Token will trigger an exception.
set_text get_text
Set/get the text of the current Token.
set_start_offset get_start_offset
Set/get the start_offset of the current Token.
set_end_offset get_end_offset
Set/get the end_offset of the current Token.
set_pos_inc get_pos_inc
Set/get the position increment of the current Token.
COPYRIGHT
Copyright 2005-2010 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch1 version 1.00.
perl v5.14.2 2011-11-15 KinoSearch1::Analysis::TokenBatch(3pm)