Bug 18827

Summary: add truncate(1)
Product: Base System Reporter: alex <alex>
Component: binAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
truncate.tar.gz none

Description alex 2000-05-26 09:50:01 UTC
John, did you never need to truncate a file in a shell-script?

Yes, Cindy, very often. I also often wanted to create a file with a given
size!

John, that is awesome! Now we have Langer's truncate(1), which can do
ALL THIS!!!! 
Now, here and only here, exclusively for the FreeBSD community!!
YOU MUST HAVE THIS!

YEAH, CINDY! GIMME! It's sooo cute!

Fix: Order your copy today via http://big.endian.de/FreeBSD/truncate.tar.gz

or by uudecoding the following crap:
Comment 1 alex 2000-05-26 10:03:48 UTC
Please use this version:

> Order your copy today via http://big.endian.de/FreeBSD/truncate.tar.gz

I've updated it with some ideas and patches by Johan Karlsson
<k@numeri.campus.luth.se>

Thanks

Alex

-- 
I need a new ~/.sig.
Comment 2 k 2000-08-02 22:22:35 UTC
truncate has been added to current as of Jul 18th
Revision 1.151 of usr.bin/Makefile

Please MFC and close this PR.

/Johan K
Comment 3 Sheldon Hearn 2000-08-03 06:46:01 UTC
On Wed, 02 Aug 2000 23:22:35 +0200, Johan Karlsson wrote:

> truncate has been added to current as of Jul 18th
> Revision 1.151 of usr.bin/Makefile
> 
> Please MFC and close this PR.

I'll see if I can do that later today.

Ciao,
Sheldon.
Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-03 08:07:19 UTC
State Changed
From-To: open->analyzed

This one's already in HEAD and is awaiting MFC. 


Comment 5 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-03 08:07:19 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

My reminder.
Comment 6 nbm freebsd_committer freebsd_triage 2000-08-06 18:04:47 UTC
State Changed
From-To: analyzed->closed

Sheldon merged it back two days ago.