10-11-2011
What the "best language" is always depends what you're doing in it. There's things that're one-liners in shell that're difficult to do in other languages, and vice versa.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to find a way to check the current status of a file. Such as some cron job processes are dependent on the completion of others. if a file is currently being accessed / modified or simply open state I will wait until it is done being processed before attempting the next process on that... (3 Replies)
Discussion started by: Gary Dunn
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to send system info like disk utilization, memory and things like that to be displayed on a web page.
gathering the system info is simple. What do I use to transfer the data to the web server? Once the data is there, its not my problem anymore :D
Thanks for any leads (5 Replies)
Discussion started by: 406
5 Replies
3. Shell Programming and Scripting
Am trying to learn a scripting language to automate mundane system admin tasks. Being a Novice, Just trying to understand, which language would be easier to learn and one for all types.
i.e Perl or Shell scripting. Which of these would be good for a system admin, Database admin ??
pls. post... (2 Replies)
Discussion started by: Crazy_murli
2 Replies
4. Shell Programming and Scripting
I do not know UNIX shell scripting so as an alternative which language would you think is better for daily System Administration tasks. Perl or PHP? I know a little about both. (5 Replies)
Discussion started by: blackopus
5 Replies
5. Shell Programming and Scripting
hi
i am student and i learn computer sciences
i need to write a script that can will be execute automatically when a user logs on a computer, and will be automatically disconnect after a duration that i will determine
can somebody help me
thank (1 Reply)
Discussion started by: Thucydide
1 Replies
6. Shell Programming and Scripting
Hello,
I want to know which shell scripting language (like AWk, Perl or any other) is the best for parsing and editing
1) space or Comma Separated Datsets
2) XML type Datasets. (1 Reply)
Discussion started by: ajayram
1 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone ,
Can anyone tell me which is the Best scripting language for Aix/unix and why.
Thanks
N K Chand (1 Reply)
Discussion started by: nkchand
1 Replies
LEARN ABOUT OPENDARWIN
kateenc
KATEENC(1) libkate KATEENC(1)
NAME
kateenc - create Kate streams from text input
SYNOPSIS
kateenc [-hVM] [-o outfile] [-l language] [-c category] [-s serial] [-C tag=value] [-R threshold] [-K threshold] -t filetype [ infile ]
DESCRIPTION
kateenc creates Kate streams from input files (SubRip SRT subtitles, LRC lyrics, and libkate's custom description language). When saved to
an Ogg stream (the default behavior), a Kate stream may then be merged with other Ogg streams (eg, a Theora video) using the oggz tools.
OPTIONS
-h Show command line help.
-V Show version information.
-M Allow simple HTML-like markup in SRT files. If this parameter is used, strings such as "<i>" will be interpreted to mean italics,
rather than appear as such. Note that various players interpret a slightly different set of HTML tags, and some do not.
-o outfile
Write the output Kate stream to the given file name (writes to stdout if not specified).
-l language
Sets the language for the stream (default is the language specified in the input, or none).
-c category
Sets the category for the stream (default is the category specified in the input, or none).
-s serial
Sets the serial number for the output Kate stream (does not apply to raw streams).
-C tag=value
Adds a comment to encode into the output Kate stream. The comment must be of the form tag=value, and comply with the Vorbis comment
rules (eg, tag is composed of a particular subset of ASCII characters, and value is valid UTF-8). Note that you might have to escape
or quote the comment for it to be seen as a single command line parameter.
-t filetype
Specifies the type of the input (srt, lrc, kate)
-R threshold
Use repeat packets, with the given threshold (in seconds). Data packets will be repeated at intervals of roughly threshold seconds,
while active.
-K threshold
Use keepalive packets, with the given threshold (in seconds). Keepalive packets will be emitted when no other packet has been emit-
ted for roughly threshold seconds.
EXAMPLES
Create a Kate stream for Welsh subtitles from a SubRip file:
kateenc -t srt -l cy -c SUB -o output.ogg input.srt
SEE ALSO
katedec(1), katalyzer(1)
libkate 0.4.1 13 october 2010 KATEENC(1)