02-28-2013
Thanks for all your responses.
I just found this detail info, which confirms your explanation:
". (source or dot operator)
If filename does not contain a slash, the PATH variable is used to find filename. The current directory is searched if filename is not found in $PATH. "
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
i want to make alias for rm command. It should actually move the file to a directory in my home.
Say if i type
%rm abc.txt
the command should expand to
%mv abc.txt ~ashishp/trash
How should I write the alias for this?
-Ashish (8 Replies)
Discussion started by: shriashishpatil
8 Replies
2. UNIX for Dummies Questions & Answers
I installed Red Hat Enterprise Linux 5 on my PC. When i typed 'emacs' on the console, "command not found" error occurrd. Why.
:mad: (1 Reply)
Discussion started by: cy163
1 Replies
3. Shell Programming and Scripting
Dear all,
When I tried to run receive.sh,it returned following errors.
syntax error near unexpected token `do
#!/usr/bin/ksh
GlobalValueReceive=r
GlobalValueWorking=w
GlobalValueTemp=t
$exec 0<Property
while read LineInProperty
do
if
then
$GlobalValueReceive =... (8 Replies)
Discussion started by: joshuaduan
8 Replies
4. UNIX for Advanced & Expert Users
Hi
'm executing a java program from my shell script on solaris 9 as
$JAVA_HOME\bin\java -ms32m -mx128m -classpath $CLASSPATH com.abc.fwk,abcServer.abcfwkServer $1 &
where $1 is port number
when i do ps -ef, it shows whole command , i want to give this some alias name as abcProcess, so... (2 Replies)
Discussion started by: b_garima
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
in my .bashrc I tried to setup some aliases.
alias scp_cmd="scp -P 8888 $1 me@somehost:."
is supposed to copy a local file to somehost via scp. However it seems that the command line substitution does not work here. However this works:
alias lst="ls -l $1"
The above scp command can... (1 Reply)
Discussion started by: strobotta
1 Replies
6. Shell Programming and Scripting
Hi.
I´ve a script that should substitude the 8th line in a file called xxx.num6.
The "xxx" is set by an array filled with this command:
j=0
for Par in *.sys ; do
Par=`echo $Par | sed 's/\(.*\).sys/\1/'` ;
Par2="$Par" ; echo "${Par2}"
j=$((j + 1));
done
Now i try... (0 Replies)
Discussion started by: Lock3
0 Replies
7. UNIX for Dummies Questions & Answers
I know this script is crummy, but I was just messing around.. how do I get sed's insert command to allow variable expansion to show the filename?
#!/bin/bash
filename=`echo $0`
/usr/bin/sed '/#include/ {
i\
the filename is `$filename`
}' $1
exit 0 (8 Replies)
Discussion started by: glev2005
8 Replies
8. UNIX for Dummies Questions & Answers
Hi:
How can I remove my own post?
Thanks. (2 Replies)
Discussion started by: phil518
2 Replies
9. UNIX for Dummies Questions & Answers
Hey, guys!
Trying to research this is such a pain since the read command itself is a common word. Try searching "unix OR linux read command examples" or using the command substitution keyword. :eek:
So, I wanted to use a command statement similar to the following.
This is kinda taken... (2 Replies)
Discussion started by: ProGrammar
2 Replies
10. Shell Programming and Scripting
Hello,
I'm attempting to configure shell settings in my new Macbook. The standard unix command line 'alias' doesn't seem to be working:
bash-3.2$ alias dir ls -la
bash: alias: dir: not found
bash: alias: ls: not found
bash: alias: -la: not found
bash-3.2$ alias dir 'ls -la'
bash:... (1 Reply)
Discussion started by: palex
1 Replies
LEARN ABOUT DEBIAN
ecppll
ecppll(1) Tntnet users guide ecppll(1)
NAME
ecppll - language-linker for ecpp
SYNOPSIS
ecppll [-I dir] [-F] [-o output-filename] ecpp-filename [translated-data]
DESCRIPTION
Ecppll is the language-linker for ecpp. This program combines the data of a ecpp-file with translated phrases from a source-file and gen-
erates a data-file used by tntnet to look up translated data. The translated data file must contain the original phrase and the translated
version separated by tab line by line.
To generate a language file the generated files of all components of a component-library must be zipped. The resulting zip-file must have
the same basename as the component-library and the language-code as the extension. Tntnet tries to find the langage library by first
appending the value of the query parameter LANG to the name of the componentlibrary. If the file is not found, the environment-variable
LANG is used. If that is neither found, the default data from the original component is used.
OPTIONS
-F Fail on warning. If a phrase is not found in the language-data or in language-data is a phrase not used it the ecpp-file, ecppll
warns about it to standard output. If this flag is set, ecppll returns a non-zero return-code.
-I dir Search include-files in directory. This option can be passed multiple times. All specified directories are searched in turn for
include-files.
-o filename
Specify output filename
AUTHOR
This manual page was written by Tommi Makitalo <tommi@tntnet.org>.
SEE ALSO
tntnet(1), ecpp(7), ecppl(1)
Tntnet 2006-08-26 ecppll(1)