Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the homework assume you're in the standard C or POSIX locale. The shell command zecale should output tc cTYPE- C or LC. CrY?E=pOSIX. If
For the homework assume you're in the standard C or POSIX locale. The shell command zecale should output tc cTYPE-" "C" or LC. CrY?E="pOSIX". If it doesn't, use the following shell command: export: LC_AIL='C' and make sure locale outputs the right thing aftervards. Shell scripting - Steve Parker, Shell Scripting Tutorial (2022) - The Open Group, Shell Command Language (2018) Examine the file /usr/share/dict/1inux.words, which contains a list of English words, one per line. Each word consists of one or more ASCII characters. Sort this file and put the sorted output into a file sorted. words. Then, take a text file containing the HTML in this assignment's web page, and run the following commands with that tex file being standard input. For each command t, sort, comm, read the command's man page and use that to deduce what the command should do given its operands here. Also, look generally at what each command outputs (in particular, how its output differs from that of the previous command), and why, Let's take the last command as the crude implementation of an English spelling checker. This implementation mishandle the input file sorted.words! Write a shell script named myspel1 that fixes this problem. Your script should read from standard input and output misspelled words to standard output, for a suitable definition of "words". The shell command: myspe1l /share/dict/1 inux.words should output nothing, because the dictionary by definition contains only correctly-spelled words. Submint Submit the following files within a compressed tarball named assign1,tgz. - labl.drib and any later dribble files that you generate. - The he1lo-?? files of Lab 1.6. - myspe11 (this should not have a file name extension; for example, it should not be myspe11. sh
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started