8000 Feature request: string pad · Issue #7102 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Feature request: string pad #7102

@pmlandwehr

Description

@pmlandwehr

Would it be possible to get a string pad function to complement string trim? I realizing that padding can effectively be accomplished using things likeprintf "%<n or negative n>s\n" $strs_to_pad | tr " " "<padding char>", but it seems like a natural extension.

I'm at fish, version 3.1.2 on Mac OS X

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0