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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

$array[$i] =~ s/<unknown>/unknown/g;

Status
Not open for further replies.

Jurafsky

Programmer
Oct 27, 2012
11
IT
Can someone explain me what this means? I know how to make a substitution but is this a particular case? In the text there's no the word "unknown" and it seems strange to have "<unknown>".
Thank you !
 
In what context is it used?

Only a guess but could it be simply to format a text file which has been created and may contain the phrase <unknown> but the output needs to be plain text?


Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top