Skip to content

accept not available in bash 2.2.21(1) #14

@jasonnet

Description

@jasonnet

I'm just noting that the provided script does not work on Ubuntu 24.04.1 (under WSL or DigitalOcean). (I've not tried anything else.) Isolating the problem one sees:

$ enable -f accept accept
-bash: enable: cannot open shared object accept: accept: cannot open shared object file: No such file or directory

This version of bash appears to be 2.2.21(1):

$  bash --version
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.    

If there's an easy fix for this, it would be great to document it for a newbie to a lot of this tech. (Ex. I didn't understand the suggestion of what to do if using bash < 5.2 .)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions