• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Holdon Download

Holdon

March 5, 2007
Holdon is a filter for UNIX command-line that enables users to control output, thus ensuring that only important information is displayed.
License GPL
Platform Linux
Supported Languages English
Homepage www.csc.liv.ac.uk
Developed by Richard Whitty
Holdon is a command line filter designed specifically for UNIX. Its function is to cache stdin until EOF, and then write it to a file designated in the command line. I discovered this useful tool while working on bbots. Before coming across Holdon, I had to work with bash, which makes it impossible to redirect to a file that is already in use in the pipeline. This can be due to the fact that the file is opened with O_TRUC, as soon as the programs are all launched simultaneously. This repeatedly made me perform tedious tasks, such as executing 'grep -v ${SOMEITEM} ${SOMELIST} > temp-file' followed by 'mv temp-file ${SOMELIST}'. This got very frustrating quickly. Obviously I've abstracted the list interaction away now, but that's not the only example.

Holdon simplifies this process greatly. In order to perform the above task with holdon, all that is required is to execute the following command: '$ grep -v ${SOMEITEM} ${SOMELIST} | holdon ${SOMELIST}'. As a result, the lines of code are much simpler, which makes it look a lot neater.

Something to bear in mind is that the buffer size has been hardcoded to 4096, which happens to be the page size for x86. If you use a different architecture, you will need to adjust this accordingly. The reason for this is that the SSIZE_MAX #define mentioned in the read() specification doesn't seem to exist on my system. Also, O_DIRECT doesn't exist on my system either, so I've included these definitions at the top of the file for your convenience if you should need to modify them.

I've been thinking about how to improve Holdon even further. Although the page size looks like a good allocation unit, it might not necessarily be the best option. Maybe including the meta-info from the memory allocator could be a more effective option? However, attempting to tune this could come at a cost, as a whole page would be solely dedicated to the buffer which would cost on the first allocation. Overall, Holdon is a fantastic tool that simplifies the command line process greatly.
What's New
Free Download 4K
315
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

Twindy
This Linux window manager is designed with inspiration from Tracktion, offering a ...
trux_motion
Trux_motion is a software that detects movement between two JPEG images.
WEBK
WEBK is a website-building software that employs a unique approach to website ...
Azure
Azure programming language is a cloud-based software solution that allows developers to ...
Io programming language
The Io programming language is a compact and prototype-based coding language.
most4linux
most4linux offers a Linux kernel driver for MOST PCI interfaces and accompanying ...
Dial-Up Bot
The Dial-Up Bot is an automated system designed to replace the /etc/ppp/ip-{up,down}.d ...
rssgen
PHP-based rssgen creates RSS feeds.
Radiator Radius Server
Radiator is a Radius server that offers great customization and adaptability options. ...
ObPwd
Object-based Password" is a software that enables users to create passwords that ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.