Hi,
I'm trying to replace the following pattern with a blank field, but haven't been able to do so
$match ='C:\data\random\unnecessary';
$sentence = 'C:\data\random\unnecessary\necessary_part\this too\finally_here.docx';
$match =~ s!$sentence!!g;
print $match;
So, I'm looking for a result...
Hi,
I need to execute a script which parses through the data line, by line. While going through the data, I come across lines which contain unbalanced braces within the data.
I was able to assign it to a list, however, while performing something like
set x [lindex $line 0]
,an error is...
Hi,
I am looking to insert a couple of lines in the output. The problem is that when I try "puts $fh..." the lines are inserted only at the end of the output file and not immediately, where the last line was read...
I've attached a sample script to make more sense of my problem..... The output...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.