Skip to content

Feature request: string pad #7102

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions