I'm developing a bash script and came up with the following strange behaviour!
$ echo £ |cut -c 1
�
The sign £ is passed to the next command cut whose filter is picking one character only.
When I modify the filter in the cut command to pick 2 characters, then the £ is passed through!
$ echo £ |cut -c 1-2
£
Not a severe problem, I have a workaround solution in the script, but why does the filter in the cut command require 2 positions instead of 1 when picking a £ sign?