Because variable expansion doesn't happen inside single quotes or strong quotes.
Remove single quotes and use just double quotes or weak quotes instead.
hi guys
trying to understand what this line means
sed is a stream editor and i understand that, i have a file already selected
i want to edit so i use -e
sed -e
the next stesp is s/$*
s is a subsititute replacement
sed -e s/$*//g
$ is in reference of the last line
/g makes it... (2 Replies)
Hi, I am new to UNIX, and am learning from this tutorial : http://www.ee.surrey.ac.uk/Teaching/Unix/index.html
It keeps telling me to files downloaded from the internet (like .txt files) to the directory, and I dont know how to.
How do I add .txt files to my directory? Thanks. (6 Replies)
Hi, this is probably very easy but, how do I define a variable for more than one line.
For example:
var1='more
than
one
line'
when I call it, I want it to be exactly like this, don't want all the words on the same line. (10 Replies)
I have a question about expanding shell variables. Given the following piece of script:
a="Some text"
b="Other text"
for i in a b
do
string1=$i
echo $string1 --> returns 'a'
string2=EXPRESSION_WITH_$i
echo $string2 --> returns 'Some text'
done
... (2 Replies)
I'd like to list all userid's on the system that have a .bashrc file in their home directory with a command like "cat /etc/passwd | grep -f", however I'm not quite familiar with using grep. Any suggestions? (2 Replies)
Hi !
I am making my first steps to make a script. Therefore i try to make a scp command more easier. Given is the following alias:
14='admin@x-abcd-def.xyz
Now i want to let the script read three var's from the console to use them in the script and then build the scp string.
echo... (7 Replies)
I'm having a little trouble with a Solaris package build/install.
I have the following entries in my prototype file...
# Interfaces file - all versions installed and auto linked to installation type...
f none $OPTDIR/config/interfaces.DEV 0444 $OWNER $GROUP
f none... (0 Replies)
Heyas
I'm trying to give some information on used variables.
While the first two work fine, the ones starting with a glob (is that the proper term?) fail.
echo ${!TUI_*} ${!RET_*} ${!*_CLI} ${!*\_GUI}
bash: ${!*_CLI}: bad substitution
Same with @ or have them escaped.
I found no... (2 Replies)
I have also some difficulty calling sed to change a word in a file.
sed -i 's/docTitl/Outline ${docTitl}/g' $ofln
Moved to new thread, since it is a different question (3 Replies)
Discussion started by: Danette
3 Replies
LEARN ABOUT DEBIAN
openapp
openapp(1) GNUstep System Manual openapp(1)NAME
openapp - launch applications from the command line
SYNOPSIS
openapp [--find] [--debug [--gdb= debuger]] [ --library-combo=library-combo ] application [arguments...]
DESCRIPTION
The openapp command allows you to launch graphical GNUstep applications from the command line.
application is the complete or relative name of the application program with or without the .app extension, like Ink.app.
arguments are the arguments passed to the application.
openapp first checks whether the application is in the current working directory. If not then searches the GNUstep domains' Applications
folders in the following order: User (i.e. ~/GNUstep/Applications), Local, Network, System. First match wins.
OPTIONS --find application
will print out the full path of the application executable which would be executed, without actually executing it. It will also list
all paths that are attempted.
--debug application
starts the application in the debugger. By default gdb, but this can be changed with the --gdb= argument or through the GDB shell
variable.
--library-combo=library-combo
Starts the application with the specified library combo. This is a rarely used option in a non-flattened setup. See the library-
combo(7) man-page for more information about the different library combinations.
--help print above usage description.
EXAMPLES
Start Ink.app without additional parameters:
openapp Ink.app
Launch Ink.app and pass it the --debug argument:
openapp --debug Ink.app
To determine which executable is launched by openapp, type:
openapp --find Ink.app
The output of the above command might be something like: /usr/GNUstep/Local/Applications/Ink.app/Ink
ENVIRONMENT
GNUSTEP_CONFIG_FILE
is used to determine where the GNUstep.sh configuration file is located. If the variable is not set openapp tries to locate it in
the folder where openapp was started, then in the user domain, and as a last resort in the system domain (or actually the place you
configured (--with-config-file=) during building).
GDB Sets the debugger to use when --debug is used.
SEE ALSO debugapp(1), GNUstep(7), gopen(1), library-combo(7), opentool(1)HISTORY
Work on openapp started October 1997.
openapp was originally written by Ovidiu Predescu <ovidiu@net-community.com> and is now maintained by Nicola Pero <nicola.pero@meta-innova-
tion.com>
AUTHORS
This manual page was first written July 2003 by Martin Brecher <martin@mb-itconsulting.com>.
Updated with notes from Hubert Chathi <uhoreg@debian.org> and Dennis Leeuw <dleeuw@made-it.com>, December 2007 by Dennis Leeuw.
gnustep-make 12/12/2007 openapp(1)