Sponsored Content
Full Discussion: Expanding shell variable
Top Forums Shell Programming and Scripting Expanding shell variable Post 302209575 by lonar on Friday 27th of June 2008 11:08:37 AM
Old 06-27-2008
Hi Ynir,
This was exactly what I meant. Thx!
 

10 More Discussions You Might Find Interesting

1. AIX

expanding the size of vg

Hi, I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb, I am having following queries. 1)wheather i have to umount that partition on aix side before increasing the size of lun on storage side or directly I can increase directly size... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

2. Shell Programming and Scripting

expanding alias from a variable

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)
Discussion started by: locutus01
7 Replies

3. Linux

Expanding slice

Hi all I am testing backupPC as a backup solution for machines, as far as i knew, backuppc cannot combine more than storage from different slices so it have to be in one slice my question is, what is the easy way to offer a virtual logical drive expanded/expandable to backuppc, i mean i want to... (1 Reply)
Discussion started by: XP_2600
1 Replies

4. Solaris

Variable not expanding during Solaris pkgadd

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)
Discussion started by: JerryHone
0 Replies

5. Shell Programming and Scripting

Not able to store command inside a shell variable, and run the variable

Hi, I am trying to do the following thing var='date' $var Above command substitutes date for and in turn runs the date command and i am getting the todays date value. I am trying to do the same thing as following, but facing some problems, unique_host_pro="sed -e ' /#/d'... (3 Replies)
Discussion started by: gvinayagam
3 Replies

6. Solaris

expanding RAM

our sparc server has only 1Gb RAM. Since RAM is not very expensive anymore, it seems like a good idea to upgrade it. will it make server (and database on it) faster? I hope it would less 'abuse' hard drive.. (6 Replies)
Discussion started by: orange47
6 Replies

7. Shell Programming and Scripting

[SHELL: /bin/sh] For loop using variable variable names

Simple enough problem I think, I just can't seem to get it right. The below doesn't work as intended, it's just a function defined in a much larger script: CheckValues() { for field in \ Group_ID \ Group_Title \ Rule_ID \ Rule_Severity \ ... (2 Replies)
Discussion started by: Vryali
2 Replies

8. Shell Programming and Scripting

Quick question on expanding variable

s=`awk '{ print $0}' /Applications/Relink.app/z_cloudline.txt` sed -n '"$s"' /var/mobile/Library/iFile/Bookmarks.plist > /var/mobile/originalip.txt What is the problem with that code ? With variable it only outputs: sed: -e expression #1, char 1: unknown command: `"' If I use the... (3 Replies)
Discussion started by: pasc
3 Replies

9. Shell Programming and Scripting

Expanding a globed variable name

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)
Discussion started by: sea
2 Replies

10. UNIX for Beginners Questions & Answers

Sed variable not expanding

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
CONFIGURE-DEBIAN(8)						      Debconf						       CONFIGURE-DEBIAN(8)

NAME
configure-debian - central configuration program for packages using debconf SYNOPSIS
configure-debian [options] DESCRIPTION
This program is meant to be a simple frontend to the dpkg-reconfigure program. Many new users who do not know about this program are unaware of how to return to the debconf configuration seen during package install. Others who do know about it often forget or do not know the package name of the program they want to reconfigure. This program is meant to address both of those issues. Note that this is not meant to be a complete configuration system! Debconf is a purposely simple system, and is not meant to solve all configuration needs. Still, it is very flexible and can accomplish a lot with relative ease. The advantage to using it rather than a tool such as linuxconf is that the distributed nature of Debian allows package maintainers to write their own configuration scripts specially tailored to both the program that they know very well and Debian itself. OPTIONS
-l --list List all packages initially, don't show them by section configure-debian accepts all the command line options for dpkg-reconfigure(1), and passes them along to it when it calls the program. See its manpapge for details on these options. SEE ALSO
dpkg-reconfigure(1) AUTHOR
David Nusinow <dnusinow@debian.org> 2005-08-09 CONFIGURE-DEBIAN(8)
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy