Printf Tool

v1.0.0

Format and print data with precise control over output format. Use for formatted output with padding, precision, and type specifications.

0· 21· 1 versions· 0 current· 0 all-time· Updated 8h ago· MIT-0

Install

openclaw skills install printf-tool

Printf - Formatted Output Utility

Format and display data using format specifiers similar to C printf. Supports string, integer, floating-point, and hexadecimal formatting with width and precision control.

Usage

printf-tool <format> [arguments...]

Common Format Specifiers

  • %s: String
  • %d: Integer
  • %f: Floating point
  • %x: Hexadecimal
  • %05d: Zero-padded integer (5 digits)

Examples

printf-tool "Name: %s, Age: %d" "Alice" 30
printf-tool "Price: $%.2f" 19.99
printf-tool "%010d" 42

Version tags

latestvk97c8cqkd1gmgh3edapwh272mn85tby3