touch-als

Crates.iotouch-als
lib.rstouch-als
version0.4.0
sourcesrc
created_at2021-01-23 14:54:40.350141
updated_at2024-06-17 23:43:02.102504
description...
homepage
repository
max_upload_size
id345670
size65,150
(de-marco)

documentation

README

Project

  • This project follows Semantic Versioning 2.0.0
  • License: GNU Lesser General Public License, either version 3, or (at your option) any later version.

Features

touch-als is a simple Linux program. It helps with automation tasks involving abstract sockets.

Current features are simple:

  • User can run touch-als and pass it one or more abstract Linux socket address(es). The program will touch those address(es), by connecting to and immediately dropping the connection(s).

  • For single address per invocation, the program supports running one sub command, based on user condition:

    • If the address is alive (on-success).
    • Or if the address is not alive (on-failure).
  • Addresses are either:

    • Hexadecimal strings. They must have at least one byte, and at most 107 bytes. Based on unix(7), abstract Linux socket paths can have up to 108 bytes. The program dictates that it takes control of the first byte -- which will always be zero (0). If the user provides less than 107 bytes, the rest will be filled with zeros.

    • Raw strings, prefixed with raw:.

  • Sub command and its arguments can be provided after a double-hyphen phrase: --.

To see more details, options and examples..., you can run the program with help command.

Commit count: 0

cargo fmt