Skip to content

PAGE 131 in Book Chapter 7 #2

@mananx22

Description

@mananx22

to_lower()
{
input="$1"
output=$( echo $1 | tr [:upper:] [:lower:] )
return $output
}

In book, to_lower() is returning a string which is not possible in bash. the script does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions