TAILIEUCHUNG - Automating Linux and Unix System Administration phần 10

Chúng tôi đã thêm thư mục để Subversion với một lần chúng tôi đã có tập tin công việc bên trong nó. Tiếp theo, chúng tôi cần làm các bước thông thường để thực hiện nhiệm vụ này được sử dụng bởi máy chủ Kickstart của chúng tôi. Dưới đây là một tóm tắt các bước: 1. Tạo 2. Tạo tập tin hostgroup nhập khẩu các lớp trong. | APPENDIX A INTRODUCING THE BASIC TOOLS 385 So the sequence a 2 will match the string aa but not a. These operators are not present in some implementations. In others the curly braces must be backslashed a 2 . Note that the sequence y . no more than y times does not usually work. Other Special Characters A few additional characters have special meanings A Match the beginning of a line or the beginning of the buffer. Match the end of a line or the end of the buffer. I Join the expressions on the left and right with a logical OR. So given this information you can see that the regular expression mad will match mad made and nomad . The regular expression Amad however will match only mad . You can use the I character to join two regular expressions together allowing one or the other to be matched. In some implementations like sed it must be backslashed. This allows you to two different words such as hello bye . Sometimes you may want to use parentheses to group the I operator. The expression Aa b c matches either a string of all as or a string with any number of bs followed by any number of cs. The expression A a b c on the other hand only matches strings ending in cs but beginning with either as or bs. In some implementations the parentheses might need to be backslashed when used as grouping operators. Marking and Back Referencing Parentheses or backslashed parentheses in implementations such as sed mark sequences in addition to their grouping functionality. These marked portions of the string being searched can be referenced later in your regular expression. Each marked string is assigned the next number in a series starting with 1. If the regular expression . . . is applied to the string abcdefg for example 1 would contain a 2 would contain b and 3 would contain cdefg. You can also nest parentheses in which case the outermost set of parentheses come first. So when the regular expression a b is applied against the string ab 1 will contain ab and 2 will contain b. In

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.