Task: Extract Filename Without Path and Extension in Bash
Task: Extract Filename Without Path and Extension in Bash: a task in Terminal-Lego-15k (Harbor dataset). Given a file path string, write a Bash script that extracts only the filename portion without the directory path and without the file extension.
The task
Given a file path string, write a Bash script that extracts only the filename portion without the directory path and without the file extension.
Part of PrimeIntellect/Terminal-Lego-15k.