So you took the code davido showed in Re: Unable to write the .sv file and added
What did you expect that code to do, and what is it actually doing?my $first = $1; if (my ($tail) = $line =~ /^\.march_endSP)(.*)/) { print(".rs_$_$tail\n") for 1..$first; } else { print($line); }
In reply to Re: How the lines will get modified as per value of i
by 1nickt
in thread How the lines will get modified as per value of i
by suvendra123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |