I needt o know how what init.d does and how it knows which dameons/applications to turn off and how to restart the applications after reboot. any OS - solaris/hp-ux (1 Reply)
Guys,
I am trying to understand the sed command here.
adx001 $ a=/clocal/dctrdata/user/dctrdat1/trdroot/recouncil
adx001 $ b=`echo $a | sed 's/\//\\\\\//g'`
adx001 $ echo $b
\/clocal\/dctrdata\/user\/dctrdat1\/trdroot\/recouncil
The sed command i took it from the script.
Please... (3 Replies)
I am trying to create a basic script that converts an Oracle script into a Sybase script.
The only things im changing are Datatypes and the to_char and to_date functions.
I am not really 100% sure of the way it works. I have tried running the functions through a loop to replace each word line... (6 Replies)
I just started shell coding and I'm a bit confused on how 'mv' works can someone explain to me how it works and if i did this correctly. Thanks.
echo "Enter Name of the first file:"
read file1
#echo $file1
if ; then
echo "Sorry, file does not exist."
exit 1
... (16 Replies)
Hi Gurus:
I am trying to understand the following line of code.I did enough of googling to understand but no luck.Please help me understand the follow chunk of code:
X=$0
MOD=${X%/*}/env.ksh
X is the current script from which I am trying to execute.
Say if X=test.ksh
$MOD is echoing :... (3 Replies)
Hi Friends,
I need a small help in understanding the below sed command.
$ cat t4.txt
1 root 1 58 0 888K 368K sleep 4:06 0.00% init
1 root 1 58 0 888K 368K sleep 4:06 0.00% init last
$ sed 's/*$//' t4.txt
1 root 1 58 0 888K ... (3 Replies)
I have the following line of code that works wonders. I just don't completely understand it as I am just starting to learn regex. Can you help me understand exactly what is happening here?
find . -type f | grep -v '^\.$' | sed 's!\.\/!!' (4 Replies)
Hi,
I found this in a script and I would like to know how this works
Code is here:
# var1=PART1_PART2
# var2=${var1##*_}
# echo $var2
PART2
I'm wondering how ##* makes the Shell to understand to pick up the last value from the given. (2 Replies)
Hi Guys,
Could you please kindly explain what exactly the below SED command will do ?
I am quite confused and i assumed that,
sed 's/*$/ /'
1. It will remove tab and extra spaces .. with single space.
The issue is if it is removing tab then it should be Î right ..
please assist.... (3 Replies)
Discussion started by: Nandy
3 Replies
LEARN ABOUT DEBIAN
fst-mor
fst-mor(1) fst-mor fst-mor(1)NAME
fst-mor - Interactive morphological analyser and generator
SYNOPSIS
fst-mor [options] file
OPTIONS -n Print multi-character symbols without the enclosing angle brackets.
-h Print usage information.
DESCRIPTION
fst-mor is an interactive morphological analyser and generator. The argument is the name of a file which was generated by fst-compiler
(without using option -c).
fst-mor reads the transducer which is stored in the argument file and prompts the user for input. Each input line is processed until the
user enters "q" which ends the program.
fst-mor has two modes, an analysis mode (default) and a generation mode. Entering an empty input line switches between the two modes.
In order to explain what the program does in generation and analysis, consider the following transducer:
a b:x c:<> d
In generation mode, the program will print "axd" if the user enters "abcd" and "no result" otherwise. In other words, the program maps the
left symbols to the right symbols of the transducer.
In analysis mode, the program will print "abcd" if the user enters "axd" and "no result" otherwise.
BUGS
No bugs are known so far.
SEE ALSO
fst-compiler
AUTHOR
Helmut Schmid, Institute for Computational Linguistics, University of Stuttgart, Email: schmid@ims.uni-stuttgart.de, This software is
available under the GNU Public License.
February 2002 fst-mor(1)