dans mon fichier j'ai des variables s0, s1, s2,.. , sn et je voudrait les substituer par variable[0]; variable[1]; variable[2]; variable[n];
comment faire svp
Forum Programmation.shell [sed] substitution speciale
13
sept.
2007
order hosts
hosts: files
sudo vpnclient connect fichier_config
Cisco Systems VPN Client Version 4.7.00 (0640)
Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: (…)
% svn up
À la révision 907.
% svn up -r 906
U test.php
Actualisé à la révision 906.
% svn info test.php
Chemin : test.php
Nom : test.php
URL : http://xxx/test.php
Racine du dépôt : http://xxx
UUID du dépôt : cafa9ce1-17f8-0310-b6a0-aae75b7f0bbc
Révision : 906
Type de noeud : fichier
Tâche programmée : normale
Auteur de la dernière modification : user_svn
Révision de la dernière modification : 906
Date de (…)
rpmbuild -tb httpd-2.2.6.tar.gzmkdir modules/ssl
checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... none
checking for OpenSSL version... checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... (…)
sub.domain1.com/view ==> view.domain2.com/index.php?config=sub.domain1.com
sub2.domain1.com/view ==> view.domain2.com/index.php?config=sub2.domain1.com
sub3.domain1.com/view ==> view.domain2.com/index.php?config=sub3.domain1.com
RewriteEngine on
RewriteRule ^/view$ http://view.domain2.com/index.php?config=%{HTTP_HOST}