Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

echo -n doesn't work for string less then 3 characters #12246

Copy link
Copy link

Description

@elaijuh
Issue body actions

I find echo -n doesn't work for string less than 3 characters, printf doesn't work either.

❯ fish --version
fish, version 4.3.2
❯ echo $version
4.3.2
❯ uname
Linux
❯ echo $TERM
foot

❯ sh -c 'env HOME=$(mktemp -d) XDG_CONFIG_HOME= XDG_DATA_DIRS= fish'
hjl@eos /h/hjl> echo -n 1
hjl@eos /h/hjl> echo -n 11
hjl@eos /h/hjl> echo -n 111
111⏎  
  
hjl@eos /h/hjl> printf "1"
hjl@eos /h/hjl> printf "11"
hjl@eos /h/hjl> printf "111"
111⏎           
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.