Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#2295 closed defect (duplicate)

port list output doing funky things when piped

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

Description

If one does a "port list" on a Tiger system and pipes it to more or head, one gets errors in the output. See below.

Just doing a "port list" is not a problem.

% port list | head Affiche aqua/Affiche 0.6.0 Sticky notes for your desktop BigSQL aqua/BigSQL 1.0 postgresql psql-like client in cocoa BiggerSQL aqua/BiggerSQL 1.3.7 SQL front-end to the postgresql DBMS CocoaDialog aqua/CocoaDialog 1.1.1 common GUI controls for command-line application DesktopManager aqua/DesktopManager 0.5.2-rc2 Virtual Desktops for Mac OS X FFView aqua/FFView 0.7 fast OpenGL-powered picture viewer Fire aqua/Fire 1.0.3 multi protocol IM client (AIM, irc, ICQ, Jabber, MSN, Yahoo) Freecell aqua/Freecell 1.3 classic solitaire game for OS-X HandBrake aqua/HandBrake 0.6.2 DVD to MPEG4 converter MacBiff aqua/MacBiff 1.1.8 IMAP Email checker error writing "stdout": broken pipe

while executing

"puts $output"

("foreach" body line 23) invoked from within

"foreach {name array} $res {

array set portinfo $array

# XXX is this the right place to verify an entry? if {![info exists portinfo(name)]} {..."

("search" arm line 10) invoked from within

"switch -- $action {

info {

if {![info exists portname]} {

puts "You must specify a port" exit 1

}

# search for port if {[catch {dport..."

(file "/opt/local/bin/port" line 200)

Change History (2)

comment:1 Changed 19 years ago by ray@…

op_sys: otherMac OS X
rep_platform: Otherppc

comment:2 Changed 19 years ago by blb@…

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 2327 *

Note: See TracTickets for help on using tickets.