We discovered that the following works without using the patch:<div><br></div><div>    pc1[model-fs]=/./$HOME/mystuff/my-modified-netkit-fs<br><br></div><div>The /. is required for some reason, but not for the kernel&#39;s path. The following is okay:</div>

<div><br></div><div>    pc1[kernel]=$HOME/mystuff/my-modified-kernel<br><br></div><div><br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 5:07 AM, Massimo Rimondini <span dir="ltr">&lt;<a href="mailto:rimondin@dia.uniroma3.it">rimondin@dia.uniroma3.it</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
  

<div 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><div><div></div><div class="h5"><br>
On 06/10/2010 08:49 PM, Ashish Agarwal wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">I&#39;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>
  </div></div><pre><fieldset></fieldset>
_______________________________________________
Netkit.users mailing list
<a href="mailto:Netkit.users@list.dia.uniroma3.it" target="_blank">Netkit.users@list.dia.uniroma3.it</a>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a>
  </pre>
</blockquote>
</div>

<br>_______________________________________________<br>
Netkit.users mailing list<br>
<a href="mailto:Netkit.users@list.dia.uniroma3.it">Netkit.users@list.dia.uniroma3.it</a><br>
<a href="http://list.dia.uniroma3.it/mailman/listinfo/netkit.users" target="_blank">http://list.dia.uniroma3.it/mailman/listinfo/netkit.users</a><br>
<br></blockquote></div><br></div>