Opened 4 years ago

Closed 4 years ago

#56100 closed defect (duplicate)

Command line Boolean operations are case-sensitive

Reported by: ryandesign (Ryan Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.2
Keywords: Cc: mojca (Mojca Miklavec), neverpanic (Clemens Lang)


Port names are supposed to be treated case-insensitively. This works fine when specifying port names alone, such as:

$ port installed imagemagick iterm2 zlib
The following ports are currently installed:
  ImageMagick @6.9.9-26_0+universal+wmf+x11 (active)
  iTerm2 @3.1.5_1 (active)
  zlib @1.2.11_0+universal (active)

But when Boolean operators are used to construct more advanced lists, it fails unless the case of the port name is specified correctly:

$ port echo installed and \( imagemagick iterm2 zlib \)
zlib                           @1.2.11_0+universal 
$ port echo installed and \( ImageMagick iTerm2 zlib \)
ImageMagick                    @6.9.9-26_0+universal+wmf+x11 
iTerm2                         @3.1.5_1 
zlib                           @1.2.11_0+universal

Change History (3)

comment:1 Changed 4 years ago by mojca (Mojca Miklavec)

Cc: mojca added

comment:2 Changed 4 years ago by mojca (Mojca Miklavec)

Cc: neverpanic added
Milestone: MacPorts 2.5.0

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.5.0
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.