I have the following code which includes a case statement. My problem is that once a file is selected from the option menu, it subsequently keeps asking me to input further choices, but I only want to input one then carry out out the subsequent commands (in this case the subsequent command is at the bottom (echo $file | sed
Tag: case
Bash: Sort text file by bytewise case sensitive sort command or using python sort command
Text File using sort -s (case sensitive) using sort -f (Not case sensitive) The words starting with an uppercase are sorted alphabetically between the lowercase words. What I want is that the words in uppercase are at the start of each next letter (upercase alphabetically sorted): Expected output: How can I realize this using bash or python sort command? Answer