This line should do it:
sed -e "s/\b\(.\)/\u\1/g"
More Related Contents:
- How to merge two files using AWK? [duplicate]
- Better way to rename files based on multiple patterns
- How can I remove the last character of a file in unix?
- Insert multiple lines into a file after specified pattern using shell script
- Bash script to remove ‘x’ amount of characters the end of multiple filenames in a directory?
- Some troubles with using sed and awk [closed]
- sh: 1: Syntax error: "(" unexpected error
- Save modifications in place with awk
- Why should eval be avoided in Bash, and what should I use instead?
- How do I write standard error to a file while using “tee” with a pipe?
- How to kill a child process after a given timeout in Bash?
- What does $@ mean in a shell script?
- Delete empty lines using sed
- Convert date formats in bash
- Linux: copy and create destination dir if it does not exist
- What is the difference between “#!/usr/bin/env bash” and “#!/usr/bin/bash”?
- Extract file basename without path and extension in bash [duplicate]
- How do you find the original user through multiple sudo and su commands?
- Managing log files created by cron jobs
- How to run a shell script on a Unix console or Mac terminal?
- How to check if a file is empty in Bash?
- Finding contents of one file in another file
- How to use sed to remove the last n lines of a file
- Should PATH contain directories or full paths to binaries?
- Execute a command without keeping it in history [closed]
- Add a newline only if it doesn’t exist
- Running shell script in parallel
- Difference between shell and environment variables
- What’s the point of eval/bash -c as opposed to just evaluating a variable?
- How do I delete all lines in a file starting from after a matching line?