I'm trying to add an alias in .bashrc file as follows:
...
alias cutf="_cutf"
...
_cutf() {
awk 'NR >= $2 && NR <= $3 { print }' < $1
}
(The function's goal is to show the content of the lines whose number is between $2 and $3 for the $1 file)
When I call cutf in a new bash session I get no output.
Am I missing something?