In a Bash function, what does local item="$1" do?
local item="$1"
It always prompts with read inside the function.
It uses $0 as the item path.
$0
It can inspect only a hardcoded test_file.txt path.
It stores the function's first argument in a local variable named item.
item