Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DJpennywhistle

    Simple substituting problem.

    Perfect - thanks Mike <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  2. DJpennywhistle

    Simple substituting problem.

    When I substitute for a line to remove it <br><br>s/blah*_\*blah\//;<br><br>I am still left with white space in empty lines. Is it possible&nbsp;&nbsp;to remove the string anf the line. <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  3. DJpennywhistle

    matching more than one line

    No - actually it doesn't give me the whole of the file - it doesn't actually give&nbsp;&nbsp;me anything different.<br><br>&nbsp;$& = (net (rename bypass &quot;bypass&quot;)<br><br><br>sorry goBoating first time you haven't sorted it for me first time!!!<br><br>Thanks anyway. <p>Gordon...
  4. DJpennywhistle

    matching more than one line

    I forgot to mention that the last line mentioned is not the end of the file - will the .* not give me the whole of the remaining file? <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  5. DJpennywhistle

    matching more than one line

    I need to match a chunk of data that covers more than 1 line. I've tried using the //m option but I can't get it to work. The data I want to get is in the form:-<br><br>&nbsp;&nbsp;&nbsp;(net (rename bypass...
  6. DJpennywhistle

    I need to name an @ARRAY using a @VARIABLE

    I want to make an array every time I have a list of data separated by commas. So I...
  7. DJpennywhistle

    I need to use the unix * operator and system won't let me

    I think I've got it sussed - I don't kno7w exactly wh+at I was doing wrong must havfrtye beeeeen \a typo somewhire.<br><br>thanks anyway guys!!! <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  8. DJpennywhistle

    I need to use the unix * operator and system won't let me

    i had used <br><br>system(&quot;cp *.edn arbit.edn&quot;);<br><br>that is the complete line. <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  9. DJpennywhistle

    I need to use the unix * operator and system won't let me

    I'm moving control into a file and then I need to copy the file with extension edn to a new file. So, in Unix I would simply <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cp *.edn arbit.edn<br><br>but system won't let me do that. I would like to keep the file name but it...
  10. DJpennywhistle

    SIMPLE MATCHING PROBLEM

    Awesome - thanks <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  11. DJpennywhistle

    Does anyone know where I can get a list of match operators?

    I would maybe spend less time clogging up this poor website with my simplke questions if I had a list of the match operators and what they do. Does anyone know where I can get one?<br><br>Thanks <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  12. DJpennywhistle

    SIMPLE MATCHING PROBLEM

    I need to match the first value of a list which looks like string = string/value. So I use the simple code...
  13. DJpennywhistle

    OUTPUT DATA TO FILE - STILL WON'T WORK!!!!

    Its cool. I worked out how to do it using an array.<br><br>Thanks once again though <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  14. DJpennywhistle

    WHAT DOES /= MEAN??

    Tnx mjl c u L8R <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  15. DJpennywhistle

    OUTPUT DATA TO FILE - STILL WON'T WORK!!!!

    Good weekemd boating?<br><br>You are right about me getting frustrated - I have been stuck with this one for days. The thing is though - I can't move the open out of the loop because during my parsing I create new folders move to them and in each one open a params.opt file to output the data to...
  16. DJpennywhistle

    OUTPUT DATA TO FILE - STILL WON'T WORK!!!!

    Okay, so I want to output this list of data into a file.<br><br>while(&lt;INPUT_FILE&gt;)<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#do various parsing<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open (OUT_FILE, &quot;&gt;$params&quot;); #open params.opt...
  17. DJpennywhistle

    WHAT DOES /= MEAN??

    simple as that <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  18. DJpennywhistle

    OUTPUT DATA TO FILE - SIMPLE PROBLEM

    Thanks again Andy pity I can't give you something back my Perl's not great - having any trouble with your golf swing? <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>
  19. DJpennywhistle

    OUTPUT DATA TO FILE - SIMPLE PROBLEM

    I am parsing a data file for parameters in an if loop. Something like:<br><br>if($file_line_starts_with_input)<br>{<br>&nbsp;&nbsp;&nbsp;#get first string as $value1<br><br>&nbsp;&nbsp;&nbsp;#get first value as $value2<br>}<br><br>I want to output these to a file called params.opt. So, inside my...
  20. DJpennywhistle

    I'm new to perl

    I would try effectiveperl.com but to be honest you would be best to learn some simple Unix first as Perl is very much based on Unix. <p>Gordon Bell<br><a href=mailto:gordon.bell@xilinx.com>gordon.bell@xilinx.com</a><br><a href= > </a><br>

Part and Inventory Search

Back
Top