03-13-2009
Super !
I found some text on vi editor on the net. This works for me.
thanks for your quick replies.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all,
i am new to UNIX. this is my first time using Ubuntu. i need to do this for my fyp.
i am using an artificial neural network model to predict the yield strength of steel. the shell script used to execute this model is as shown here:
#Thomas Sourmail, Cambridge University /... (4 Replies)
Discussion started by: dakkorn
4 Replies
2. Shell Programming and Scripting
I have this script someone very kindly help me write last year which loops through all files in a folder and does a command.
I need to modify it to loop through all sub-folders of a main folder and only perform the command on files modified after Jan 1st 2008. And I need the command to place the... (3 Replies)
Discussion started by: Fred Goldman
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i have created a simple .ksh file in the following manner
cat <<EOF >mfile
#!/bin/ksh
echo "hello world"
EOF
I have 2 questions
1. now i would like to add a second line after the first echo command
e.g. echo "this is line 2"
how can i do that ?
2. I would then like... (1 Reply)
Discussion started by: corbusier
1 Replies
4. Shell Programming and Scripting
I need to replace the line daemon ntpd $OPTIONS in the following script with daemon ntpd $OPTIONS 2>&1 > /var/log/ntpd.log &
what will happen?
The idea of replacing is to capture the output on the console into ntpd.log file.
Will this work?
... (1 Reply)
Discussion started by: naive1977
1 Replies
5. Shell Programming and Scripting
Hi freinds
I have a small problem I want u to help me in, I have a syslog server and configured it to send me email automatically, I get a small perl script to help me in, and tested it to send alerts to root and it worked successfully without any problems
Now I want to send it outside, I... (4 Replies)
Discussion started by: reaky
4 Replies
6. Shell Programming and Scripting
Hi,
I am new to shell programming, and want to know is it possible to change the contents of file using script?
for example, if want to search 2 words and want to replace these words with 2 new words.
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I really wan't to know that how to edit a shell script with out using an editor..
Is there any command? (4 Replies)
Discussion started by: buddhi
4 Replies
8. Shell Programming and Scripting
Hello,
I have a shell script which calls for an existing script with appropriate parameters. It looks something like this.
--------------------------------------------------------------------------
#!/bin/bash
sh /root/ams_rc stop_shepherd > /dev/null
sleep 30
sh /root/ams_rc... (9 Replies)
Discussion started by: Siddheshk
9 Replies
9. Shell Programming and Scripting
I have the records in the format
one row
0009714494919I MY010727408948010 NNNNNN N PUSAAR727408948010 R007YM08705 9602002 S 111+0360832-0937348
I want to get it int the format
0009714494919I MY010727408948010 NNNNNN N PUSAAR727408948010 R007YM08705 9602002 S ... (2 Replies)
Discussion started by: sonam273
2 Replies
10. Shell Programming and Scripting
I have a script that currently runs fine and I need to add or || (or) condition to the if statement and I'm not sure the exact syntax as it relates to the use of brackets.
my current script starts like this:
errLog="/usr/local/website-logs/error.log"
apacheRestart="service httpd restart"... (3 Replies)
Discussion started by: jjj0923
3 Replies
LEARN ABOUT DEBIAN
katedj
KATEDJ(1) libkate KATEDJ(1)
NAME
KateDJ - edits and remixes Kate streams in Ogg
SYNOPSIS
KateDJ [-hV]
DESCRIPTION
KateDJ allows extracting Kate tracks embedded in an Ogg stream, editing them, and rebuilding the Ogg stream after the Kate tracks are modi-
fied.
KateDJ is a simple GUI program, so usage is UI driven, rather than command line driven.
This is a walkthrough of the usual program flow:
Select 'Load Ogg stream' to select the Ogg file you want to remix.
Select 'Demux file' to extract Kate streams from this file to a temporary directory. Depending on the size of the Ogg file, that step may
take a while. A message will then tell you where the temporary files have been placed. All Kate streams will be decoded to a text
description and placed in this temporary directory, and a list of them, along with their serial number, language, and category, will be
displayed in a list.
Those files may then be edited at will, either in the embedded editor by double clicking on the stream in the supplied list, or with your
favorite text editor. Any modification may be done, including removing some of those files altogether, or even adding some. However, in
order to be recognized, any new files must be named according to the same naming convention as the existing ones.
Once the desired modifications are done, select 'Remux file from parts' to attempt to recreate the Ogg stream. If any error occurs (eg,
syntax error in the Kate files), a message will inform you. Once the errors are fixed, select 'Remux file from parts' again, until the
operation succeeds.
The embedded editor can test a modified stream, so it more convenient for quick modifications, while your editor of choice may be more pow-
erful for complex modification.
OPTIONS
-h Show command line help.
-V Show version information.
SEE ALSO
katedec(1), kateenc(1), katalyzer(1)
libkate 0.4.1 18 august 2009 KATEDJ(1)