Đọc stdin. In ra các dòng chứa color hoặc colour (chữ u tuỳ chọn), dùng toán tử ?.
Gợi ý: grep -E 'colou?r'.
Ví dụ:
Input:
the color red
british colour
no match
color and colour
Output:
the color red
british colour
color and colour
Nhiều dòng văn bản trên stdin.
Mỗi dòng dài tối đa 200 ký tự.
Các dòng chứa color hoặc colour.
Ví dụ:
Đầu vào:
the color red
british colour
no match
color and colour
Đầu ra:
the color red
british colour
color and colour
Giải thích:
Đang tải editor...