Opened 10 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

Description

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 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by raghuram87

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

comment:1 Changed 10 years ago by raghuram87

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

comment:2 Changed 10 years ago by stippi

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 Changed 10 years ago by Adek336

Works like a charm, thanks!

comment:4 Changed 10 years ago by axeld

Resolution: fixed
Status: assignedclosed

THanks for the update.

Note: See TracTickets for help on using tickets.