ECE 8473 - Fall 2022 - Class Notes


w13) 12 Dec 2022

a9 hacks; fix w12 pthread example

C: 11-17:grammar

C Grammar (from C99 Appendix A)

Utilities: yacc, lex

bison & flex examples (also in VECR Copy scan.l, parse.y)

notes from class


w12) 5 Dec 2022

a9 notes; a10 notes, bitwise operators

more processes and threads

notes from class


w11) 28 Nov 2022

a10

Processes:   execlp(), fork(), getpid(), wait();   dup2(), pipe();   lscpu, mpstat -P ALL, ps -elf, top H, /proc, /proc/cpuinfo

Threads: C, POSIX

notes from class


Thanksgiving Break


w10) 14 Nov 2022

Utilities:   chown -R -h,   dd ibs= count=,   ldd,   stat

Shell - section 9.4 (Compound Commands) - case

C character strings and string functions - notes (all) - 3-5 - string.h

a9

notes from class


w9) 7 Nov 2022

review notes from last week, openssl installation, httpd, ....

regex and sed; grep/egrep/fgrep speed

Utilities:   df, ln -s;   ar, tar, cpio;   bzip2 -d, gzip -d;   find, sort -u -k -t, uniq -c, xargs

a8

C character strings and string functions - notes (all) - 1,2,3.1-3.3 - string.h

notes from class


w8) 31 Oct 2022

a6 (11/03) (11/10), a7 (11/10)

openssl installation

regular expressions

Utilities: awk -F, ed, expr, grep -i -v -E -F (egrep, fgrep), regex, sed -e

Also see the shell Pattern Matching Notation and the susv4 chapter on Regular Expressions.

notes from class


w7) 24 Oct 2022

review notes from last week -> more function pointers; signal()

Utilities: paste, shuf -i --random-source, tee; kill, signal, screen

C: ctype.h; stdio.h: getchar(), putchar(), fgets(), fputs()

a6

notes from class


w6) 17 Oct 2022

a5

Shell - sections 6.3 (Command Substitution), 7 (Redirection)

Utilities: cmp -s, tr -d -c

C: arrays, pointers (also see strings and strlen), Func.c, pointer notes

notes from class


Fall Break


w5) 3 Oct 2022

review notes from last week

a4

gnuplot, a4/plot.sh

pseudo-random numbers in C

approximating square-root

notes from class


w4) 26 Sept 2022

jokes

a1/p4 ctime() notes; Mac and errno; pi; gdb and crash

C Overview - 5-10:keywords,operators

a3

notes from class


w3) 19 Sept 2022

Shell - sections 5 (parameters and variables), 6.4 (arithmetic expansion), 9.4 (compound commands)

Utilities:   read, test;   chmod, comm -123, seq, touch, wc -l;   diff, printf, rev

a2

C Overview - 18-21:constants,arrays

notes from class


w1,w2) 29 Aug, 12 Sept 2022

Intro, outline, schedule, references, ...

Unix and C Development Environments

C Overview - 1-4:intro; 27:limits.h; 26:float.h; 22:preproc;   25:errno; 44:tgmath

Shell - 1-4:intro, quotes, reserved words

Utilities:   ls -a -l, cd, man -k -s;   pwd, mkdir, rmdir, rm, mv;   cat -n -v, more, less, head -n, tail -n;   nano, gcc, make -n, wget, unzip -l, zip -r

a1

notes from class: w1, w2