├── LICENSE ├── README.md ├── Version_changes.md ├── cli_text_processing_coreutils.md ├── code_snippets ├── basename_and_dirname.sh ├── cat_and_tac.sh ├── comm.sh ├── csplit.sh ├── cut.sh ├── expand_and_unexpand.sh ├── fold_and_fmt.sh ├── head_and_tail.sh ├── join.sh ├── nl.sh ├── paste.sh ├── pr.sh ├── seq.sh ├── shuf.sh ├── sort.sh ├── split.sh ├── tr.sh ├── uniq.sh └── wc.sh ├── example_files ├── all_sections.txt ├── body.txt ├── body_sep.txt ├── book_list.txt ├── code.py ├── colors_1.txt ├── colors_2.txt ├── dept.txt ├── e_notation.txt ├── file_size.txt ├── fruits.txt ├── greeting.txt ├── header_body.txt ├── info_fmt.txt ├── list_1.txt ├── list_2.txt ├── log.txt ├── marks.csv ├── mixed_fields.csv ├── mixed_numbers.txt ├── names.txt ├── nums.txt ├── purchases.txt ├── report_1.csv ├── report_2.csv ├── sample.txt ├── scores.csv ├── shopping.txt ├── shopping_feb.txt ├── shopping_jan.txt ├── timings.txt └── versions.txt ├── exercises ├── Exercise_solutions.md ├── Exercises.md ├── all_sections.txt ├── blocks.txt ├── books.txt ├── colors.txt ├── duplicates.csv ├── f1.txt ├── fruits.txt ├── greeting.txt ├── ip.txt ├── items.txt ├── j1.txt ├── j2.txt ├── j3.txt ├── j4.txt ├── marks_1.csv ├── marks_2.csv ├── s1.txt ├── s2.txt ├── s3.txt └── scores.csv ├── images ├── cli_coreutils_ls.png ├── info.svg └── warning.svg └── sample_chapters └── cli_text_processing_coreutils_sample.pdf /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/README.md -------------------------------------------------------------------------------- /Version_changes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/Version_changes.md -------------------------------------------------------------------------------- /cli_text_processing_coreutils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/cli_text_processing_coreutils.md -------------------------------------------------------------------------------- /code_snippets/basename_and_dirname.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/basename_and_dirname.sh -------------------------------------------------------------------------------- /code_snippets/cat_and_tac.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/cat_and_tac.sh -------------------------------------------------------------------------------- /code_snippets/comm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/comm.sh -------------------------------------------------------------------------------- /code_snippets/csplit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/csplit.sh -------------------------------------------------------------------------------- /code_snippets/cut.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/cut.sh -------------------------------------------------------------------------------- /code_snippets/expand_and_unexpand.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/expand_and_unexpand.sh -------------------------------------------------------------------------------- /code_snippets/fold_and_fmt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/fold_and_fmt.sh -------------------------------------------------------------------------------- /code_snippets/head_and_tail.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/head_and_tail.sh -------------------------------------------------------------------------------- /code_snippets/join.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/join.sh -------------------------------------------------------------------------------- /code_snippets/nl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/nl.sh -------------------------------------------------------------------------------- /code_snippets/paste.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/paste.sh -------------------------------------------------------------------------------- /code_snippets/pr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/pr.sh -------------------------------------------------------------------------------- /code_snippets/seq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/seq.sh -------------------------------------------------------------------------------- /code_snippets/shuf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/shuf.sh -------------------------------------------------------------------------------- /code_snippets/sort.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/sort.sh -------------------------------------------------------------------------------- /code_snippets/split.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/split.sh -------------------------------------------------------------------------------- /code_snippets/tr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/tr.sh -------------------------------------------------------------------------------- /code_snippets/uniq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/uniq.sh -------------------------------------------------------------------------------- /code_snippets/wc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/code_snippets/wc.sh -------------------------------------------------------------------------------- /example_files/all_sections.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/all_sections.txt -------------------------------------------------------------------------------- /example_files/body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/body.txt -------------------------------------------------------------------------------- /example_files/body_sep.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/body_sep.txt -------------------------------------------------------------------------------- /example_files/book_list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/book_list.txt -------------------------------------------------------------------------------- /example_files/code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/code.py -------------------------------------------------------------------------------- /example_files/colors_1.txt: -------------------------------------------------------------------------------- 1 | Blue 2 | Brown 3 | Orange 4 | Purple 5 | Red 6 | Teal 7 | White 8 | -------------------------------------------------------------------------------- /example_files/colors_2.txt: -------------------------------------------------------------------------------- 1 | Black 2 | Blue 3 | Green 4 | Orange 5 | Pink 6 | Red 7 | White 8 | -------------------------------------------------------------------------------- /example_files/dept.txt: -------------------------------------------------------------------------------- 1 | CSE 2 | ECE 3 | -------------------------------------------------------------------------------- /example_files/e_notation.txt: -------------------------------------------------------------------------------- 1 | +120 2 | -1.53 3 | 3.14e+4 4 | 42.1e-2 5 | -------------------------------------------------------------------------------- /example_files/file_size.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/file_size.txt -------------------------------------------------------------------------------- /example_files/fruits.txt: -------------------------------------------------------------------------------- 1 | banana 2 | papaya 3 | mango 4 | -------------------------------------------------------------------------------- /example_files/greeting.txt: -------------------------------------------------------------------------------- 1 | Hi there 2 | Have a nice day 3 | -------------------------------------------------------------------------------- /example_files/header_body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/header_body.txt -------------------------------------------------------------------------------- /example_files/info_fmt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/info_fmt.txt -------------------------------------------------------------------------------- /example_files/list_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/list_1.txt -------------------------------------------------------------------------------- /example_files/list_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/list_2.txt -------------------------------------------------------------------------------- /example_files/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/log.txt -------------------------------------------------------------------------------- /example_files/marks.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/marks.csv -------------------------------------------------------------------------------- /example_files/mixed_fields.csv: -------------------------------------------------------------------------------- 1 | 1,2,3,4 2 | hello 3 | a,b,c 4 | -------------------------------------------------------------------------------- /example_files/mixed_numbers.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/mixed_numbers.txt -------------------------------------------------------------------------------- /example_files/names.txt: -------------------------------------------------------------------------------- 1 | Amy 2 | Raj 3 | Tia 4 | -------------------------------------------------------------------------------- /example_files/nums.txt: -------------------------------------------------------------------------------- 1 | 3.14 2 | 42 3 | 1000 4 | -------------------------------------------------------------------------------- /example_files/purchases.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/purchases.txt -------------------------------------------------------------------------------- /example_files/report_1.csv: -------------------------------------------------------------------------------- 1 | Name,Maths,Physics 2 | Amy,78,95 3 | Moi,88,75 4 | Raj,67,76 5 | -------------------------------------------------------------------------------- /example_files/report_2.csv: -------------------------------------------------------------------------------- 1 | Name,Chemistry 2 | Amy,85 3 | Joel,78 4 | Raj,72 5 | -------------------------------------------------------------------------------- /example_files/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/sample.txt -------------------------------------------------------------------------------- /example_files/scores.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/scores.csv -------------------------------------------------------------------------------- /example_files/shopping.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/shopping.txt -------------------------------------------------------------------------------- /example_files/shopping_feb.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/shopping_feb.txt -------------------------------------------------------------------------------- /example_files/shopping_jan.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/shopping_jan.txt -------------------------------------------------------------------------------- /example_files/timings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/timings.txt -------------------------------------------------------------------------------- /example_files/versions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/example_files/versions.txt -------------------------------------------------------------------------------- /exercises/Exercise_solutions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/Exercise_solutions.md -------------------------------------------------------------------------------- /exercises/Exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/Exercises.md -------------------------------------------------------------------------------- /exercises/all_sections.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/all_sections.txt -------------------------------------------------------------------------------- /exercises/blocks.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/blocks.txt -------------------------------------------------------------------------------- /exercises/books.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/books.txt -------------------------------------------------------------------------------- /exercises/colors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/colors.txt -------------------------------------------------------------------------------- /exercises/duplicates.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/duplicates.csv -------------------------------------------------------------------------------- /exercises/f1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/f1.txt -------------------------------------------------------------------------------- /exercises/fruits.txt: -------------------------------------------------------------------------------- 1 | banana 2 | papaya 3 | mango 4 | -------------------------------------------------------------------------------- /exercises/greeting.txt: -------------------------------------------------------------------------------- 1 | Hi there 2 | Have a nice day 3 | -------------------------------------------------------------------------------- /exercises/ip.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/ip.txt -------------------------------------------------------------------------------- /exercises/items.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/items.txt -------------------------------------------------------------------------------- /exercises/j1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/j1.txt -------------------------------------------------------------------------------- /exercises/j2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/j2.txt -------------------------------------------------------------------------------- /exercises/j3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/j3.txt -------------------------------------------------------------------------------- /exercises/j4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/j4.txt -------------------------------------------------------------------------------- /exercises/marks_1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/marks_1.csv -------------------------------------------------------------------------------- /exercises/marks_2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/marks_2.csv -------------------------------------------------------------------------------- /exercises/s1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/s1.txt -------------------------------------------------------------------------------- /exercises/s2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/s2.txt -------------------------------------------------------------------------------- /exercises/s3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/s3.txt -------------------------------------------------------------------------------- /exercises/scores.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/exercises/scores.csv -------------------------------------------------------------------------------- /images/cli_coreutils_ls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/images/cli_coreutils_ls.png -------------------------------------------------------------------------------- /images/info.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/images/info.svg -------------------------------------------------------------------------------- /images/warning.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/images/warning.svg -------------------------------------------------------------------------------- /sample_chapters/cli_text_processing_coreutils_sample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnbyexample/cli_text_processing_coreutils/HEAD/sample_chapters/cli_text_processing_coreutils_sample.pdf --------------------------------------------------------------------------------