Re: How do you de-reference quotes in perl/dsmadmc script?
2000-01-04 12:31:08
Subject: |
Re: How do you de-reference quotes in perl/dsmadmc script? |
From: |
Joel C McCarty <jmccarty AT HERTZ DOT COM> |
Date: |
Tue, 4 Jan 2000 11:31:08 -0600 |
Instead of backqouting put your shell calls inside a system().
#! /usr/bin/perl
system('dsmadmc command');
seems to work fine for me
Joel McCarty
Keith Kwiatek <kkwiatek AT NIST DOT GOV> on 01/04/2000 10:56:39 AM
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc: (bcc: Joel C McCarty/MIS/OKC/Hertz)
Subject: How do you de-reference quotes in perl/dsmadmc
script?
Hello,
I have an adsm server script called webfilespacedelete as below:
delete filespace $1 $2 wait=yes
and I have a perl program as below:
`/bin/dsmadmc -servername=pipit -id=test -password=test123 run
webfilespacedelete test_node_name "\\\\gp's p5\\d$" > ./output.txt `
NOTICE the tick mark in the filespace name (gp's)..... it keeps saying
unmatched quotes when I run this.... how do I need to set up my perl script
to deference the tick? I have tried double ticking ('') and backslash (\)
with no luck.....
Please post and/or email me at kkwiatek AT nist DOT gov
Thanks!
Keith
|
|
|