Sponsored Content
Top Forums Shell Programming and Scripting Need help with spec. characters. Post 302532237 by beckss on Monday 20th of June 2011 10:16:41 AM
Old 06-20-2011
Need help with spec. characters.

Hi.,
I need transfer as parameter into shell script some spec. characters, for example " or ' or & or \ at the end of second parameter. (this parameter used as changed password).
How I can transfer it into shell script.
Thanks Staas,.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find out the spec of my AIX?

Does anyone know if there are any commands that allow me to find out the spec of my AIX machine? It's RS6000. Thx (2 Replies)
Discussion started by: E-Quality
2 Replies

2. News, Links, Events and Announcements

International Approval for Single UNIX Spec

The joint revision to POSIX and the Single UNIX Specification have received international approval by the ISO/IEC and have become International Standard ISO/IEC 9945:2002. See http://www.unix.org/version3/ for information on the specification, including how to read and/or download a free copy of... (0 Replies)
Discussion started by: jj25
0 Replies

3. UNIX for Dummies Questions & Answers

Extracting spec info from finger.

Hi everyone, I'm trying to extract the user name and full name from the finger command without using sed or awk. Any pointers? Thanks in advance. (6 Replies)
Discussion started by: franny
6 Replies

4. Solaris

E6900 CPU Spec

From below output, is this 8 CPU with dual core or 4 CPU with dual core? # prtdiag -v System Configuration: Sun Microsystems sun4u Sun Fire E6900 System clock frequency: 150 MHz Memory size: 49152 Megabytes ========================= CPUs =============================================== ... (2 Replies)
Discussion started by: KhawHL
2 Replies

5. Shell Programming and Scripting

Need help writing RPM .spec file

I'm new to this. This installer just installs PHP code so NOTHING needs to be built (do I still need to use the build and buildroot directories?). I would just like to create an installer (spec) that: 1) unpacks a tarball 2) moves the unpacked files to the installation target 3) runs a script... (2 Replies)
Discussion started by: stevenswj
2 Replies

6. Shell Programming and Scripting

Calling script from a RPM spec file

Hi, I want to execute a script "myscript.sh" in the %post part of a rpm spec file. Suppose the script is placed in /opt/path. Then simply calling like sh /opt/path/myscript.sh from %post part (of that spec file) will suffice? Or there is any other way? (0 Replies)
Discussion started by: saurabhkoar
0 Replies

7. Red Hat

RedHat version in rpm spec files

Hi In opensuse we have this nice version control variable I use much when designing rpm spec files: rpm --showrc | grep suse_version %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700 -14: suse_version 1140But I do not find anything close to this in rhel/centos The only way... (0 Replies)
Discussion started by: mortenb
0 Replies

8. Shell Programming and Scripting

Problem wth spec chars in script

Hello I would like to make a script which will get the line from file list (ex. passkey) and put it into further processing. The main problem is that lines, in text file contains all specials characters, and whitespaces too, as these that was used as a extremmaly-safe passwords. I have written... (4 Replies)
Discussion started by: elxa1
4 Replies

9. Shell Programming and Scripting

Printf or any other method to put long string of spec characters - passing passwords

Hello, I am looking for a method to use in my bash script which allows me to use long strings with all special characters. I have found that printf method could be helpful for me but unfortunately, when I trying root@machine:~# tevar=`printf "%s%c"... (2 Replies)
Discussion started by: elxa1
2 Replies
POSTCONF(1)						      General Commands Manual						       POSTCONF(1)

NAME
postconf - Postfix configuration utility SYNOPSIS
postconf [-dhmlnv] [-c config_dir] [parameter ...] postconf [-ev] [-c config_dir] [parameter=value ...] DESCRIPTION
The postconf command prints the actual value of parameter (all known parameters by default), one parameter per line, changes its value, or prints other information about the Postfix mail system. Options: -c config_dir The main.cf configuration file is in the named directory instead of the default configuration directory. -d Print default parameter settings instead of actual settings. -e Edit the main.cf configuration file. The file is copied to a temporary file then renamed into place. Parameters and values are spec- ified on the command line. Use quotes in order to protect shell metacharacters and whitespace. -h Show parameter values only, not the ``name = '' label that normally precedes the value. -l List the names of all supported mailbox locking methods. -m List the names of all supported lookup table types. -n Print non-default parameter settings only. -v Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose. DIAGNOSTICS
Problems are reported to the standard error stream. LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA POSTCONF(1)
All times are GMT -4. The time now is 11:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy