Opened 11 years ago

Closed 10 years ago

#3626 closed enhancement (fixed)

implement -q in netcat

Reported by: Adek336 Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Implement -q in netcat, it's useful.

       -q seconds   after  EOF  on stdin, wait the specified number of seconds
                    and then quit. If seconds is negative, wait forever.

Attachments (1)

netcat-with-option-q.patch (2.9 KB ) - added by raghuram87 11 years ago.

Download all attachments as: .zip

Change History (5)

by raghuram87, 11 years ago

Attachment: netcat-with-option-q.patch added

comment:1 by raghuram87, 11 years ago

I am a GSoC student and have applied to Haiku. I have attached a patch for the above feature.

comment:2 by stippi, 11 years ago

Owner: changed from axeld to stippi
Status: newassigned

Thanks a lot, the patch was very well done. Applied in hrev30182. Adek336, can you confirm this works how you wanted?

comment:3 by Adek336, 10 years ago

Works like a charm, thanks!

comment:4 by axeld, 10 years ago

Resolution: fixed
Status: assignedclosed

THanks for the update.

Note: See TracTickets for help on using tickets.