Add IGNORECASE = 1;
to the beginning of your awk command like so:
bash-3.2$ echo "Create" | awk '/^create/;'
bash-3.2$ echo "Create" | awk 'IGNORECASE = 1;/^create/;'
Create
More Related Contents:
- How do you delete all lines that contain no letters from the alphabet using either grep, sed, or awk? [closed]
- substitute words on a line only before first delimeter using sed or awk
- Printing with sed or awk a line following a matching pattern
- What are NR and FNR and what does “NR==FNR” imply?
- How do I find the text that matches a pattern?
- Escaping separator within double quotes, in awk
- Is a /start/,/end/ range expression ever useful in awk?
- Can we use shell variables in awk?
- Summing values of a column using awk command
- Using multiple delimiters in awk
- Print all but the first three columns
- Using AWK to Process Input from Multiple Files
- Assigning system command’s output to variable
- Why does “1” in awk print the current line?
- How to split a delimited string into an array in awk?
- How to escape a single quote inside awk
- Random numbers generation with awk in BASH shell
- How to show only next line after the matched one?
- Print second-to-last column/field in `awk`
- How can I make awk not use scientific notation when printing small values?
- print unique lines based on field
- Using awk to pull specific lines from a file
- get the user input in awk
- How to preserve the original whitespace between fields in awk?
- Bash tool to get nth line from a file
- How to use multiple arguments for awk with a shebang (i.e. #!)?
- Remove multi-line comments
- Removing Windows newlines on Linux (sed vs. awk)
- Uppercasing First Letter of Words Using SED
- Sum duplicate row values with awk