<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Dear Ashish,<br>
<br>
there is no way to apply shell expansion to the contents of lab.conf
using standard Netkit tools, but you can by applying the attached patch
to your $NETKIT_HOME/bin/lcommon.<br>
<br>
Please notice that, due to the way the shell performs expansion, the
tilde will still fail to be correctedly interpreted when used in
conjunction with long command-line options. Therefore, in order to
obtain what you need, you would use instead:<br>
<br>
<blockquote type="cite"><tt>pc1[m]=~/mystuff/my-modified-netkit-fs</tt></blockquote>
<br>
<br>
or:<br>
<br>
<blockquote type="cite"><tt>pc1[model-fs]=</tt><tt>$HOME/mystuff/my-modified-netkit-fs</tt></blockquote>
</tt><br>
<tt>Regards,<br>
Massimo.<br>
<br>
</tt><br>
On 06/10/2010 08:49 PM, Ashish Agarwal wrote:
<blockquote
 cite="mid:AANLkTimn2GQd4GEoUVotzaQKMkWyRcdcmm42t5ALwwYa@mail.gmail.com"
 type="cite">I'd like to include the following line in a lab.conf file:
  <div><br>
  </div>
  <div>pc1[model-fs]=~/mystuff/my-modified-netkit-fs</div>
  <div><br>
  </div>
  <div>However, it appears that Netkit does not expand the tilde. The
above line works fine if I instead write the fully expanded path. Is
there anyway to get the above to work?</div>
  <div><br>
  </div>
  <div>Thank you.</div>
  <div><br>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Netkit.users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a>
<a class="moz-txt-link-freetext" href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  </pre>
</blockquote>
</body>
</html>