backslashing periods


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers backslashing periods
# 1  
Old 11-04-2009
backslashing periods

Hello,

I have a script which configures a system,
the configuration is currently manual and error prone.

I am writting a script, which currently uses hard-coded values.

I don't know how to take an IP, e.g. 123.456.789.111, and backslash the periods, so I can pass it to an
PHP Code:
`exec perl blah sips:6000\@123\.456\.678\.111:5061
Any ideas guys?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Periods turn into spaces for some reason

Hey all, I've come across a problem that I can't solve. Its as simple as it can get. I want to substitute spaces in a string with dots e.g. i am a string i.am.a.string I've tried examples from the web that should work but they don't. A period seems to become a space for some reason :s ... (5 Replies)
Discussion started by: basherlemon
5 Replies

2. Shell Programming and Scripting

Split and name files as 15 minute periods

Hi, I have a number of large files (up to 4GB) that I wish to split in 96 parts e.g. one for each 15 minutes of the day. The split can be random so I am using split -b 42M filename.csv I want to name each of the resultant files as a distinct 15 minute period of the day e.g. ... (10 Replies)
Discussion started by: ksexton
10 Replies

3. UNIX for Advanced & Expert Users

get the file extension having multiple periods

How to get the file extension having multiple periods suppose i have a file samplewprk.txt.dat I need to retrieve txt.dat from the file. I worked all iam getting is either txt or pyd Could anyone help me in providing the solution? Thanks, in advance (3 Replies)
Discussion started by: chinku
3 Replies
Login or Register to Ask a Question
EXIM_CONVERT4R4(8)					      System Manager's Manual						EXIM_CONVERT4R4(8)

NAME
exim_convert4r4 - Convert Exim configuration from v3 to v4 format SYNOPSIS
exim_convert4r4 DESCRIPTION
This script is provided to assist in updating Exim configuration files. It reads an Exim 3 configuration file on the standard input, and writes a modified file on the standard output. It also writes comments about what it has done to the standard error file. It assumes that the input is a valid Exim 3 configuration file. A typical call to the conversion script might be exim_convert4r4 < /etc/exim/exim.conf > /etc/exim4/exim4.conf.new The output file MUST be checked and tested before trying to use it on a live system. The conversion script is just an aid which does a lot of the "grunt work". It does not guarantee to produce an Exim 4 configuration that behaves exactly the same as the Exim 3 configuration it reads. Each option change in the new file is preceded by an identifying comment. In fact, the conversion script tends to make quite a mess of your configuration, and you should expect to go through it afterwards and tidy it up by hand. Unless you are running a very straightforward configuration, the automatic conversion is likely to generate a non-optimal configuration. You should not only check it thoroughly, but also run as many tests as you can, to ensure that it is working as you expect. In particular, you should test address routing, using -bt and -bv, and the policy controls, using -bh. If possible, you should also do some live tests (i.e. send and receive some messages) before putting Exim 4 into service. If you have a very complicated configuration, it is possible that exim_convert4r4 will break it in some situations, which is why thorough testing is strongly recommended. BUGS
This manual page needs a major re-work. If somebody knows better groff than us and has more experience in writing manual pages, any patches would be greatly appreciated. SEE ALSO
exim(8), the files in /usr/share/doc/exim4-base/, especially Exim4.upgrade.gz AUTHOR
This manual page was stitched together from Exim4.upgrade by Andreas Metzler <ametzler at downhill.at.eu.org>, for the Debian GNU/Linux system (but may be used by others). March 26, 2003 EXIM_CONVERT4R4(8)