Opened 20 years ago

Closed 19 years ago

#2357 closed defect (wontfix)

Adding a semicolon in descriptions gives unexpected result

Reported by: ornstedt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

When adding a semicolon in description you will get curly brackets added to the word or whole description depending on your quotation.

Example Portfile: description "A frontend ; to mythtv." pre-patch { puts $description }

$ port patch mythtv Portfile changed since last build; discarding previous state. ---> Fetching mythtv ---> Verifying checksum(s) for mythtv ---> Extracting mythtv {A frontend ; to mythtv.} ---> Applying patches to mythtv

Change History (3)

comment:1 Changed 20 years ago by ornstedt@…

description A frontend \; to mythtv.

Gives this result: A frontend {;} to mythtv.

However this also give a strange result description "A frontend to mythtv."

Result: {A frontend ; to mythtv.}

comment:2 Changed 19 years ago by blb@…

Since the semicolon is a special character for Tcl (and a Portfile is a fancy Tcl script), I'm not really sure there's anything which can be done for this, other than avoid the use of semicolons.

comment:3 Changed 19 years ago by jberry@…

Resolution: wontfix
Status: newclosed

I agree with blb. This is a function of the territory (Tcl) that we chose to live in. It's led us to some pretty cool functionality, but with a few odd quirks....this being one of them.

Resolving as "won't fix".

Note: See TracTickets for help on using tickets.