Q: Problem #1. what if the line containing the
HTML title looks like this:
<HEAD> <TITLE>I am a TITLE! </TITLE> </HEAD>
A: The output should be "I am a TITLE!".
|
Q: Problem #1. What about this one?
<HEAD> < STYLE> B {color:blue}</STYLE><TITLE>I am a TITLE! </TITLE> </HEAD>
A: The output should be "I am a TITLE!".
|
|
Q: Problem #2 (stack commands), if we store the stack in a file
does it matter where the file is?
A: It should not matter where I am (the directory I'm in) when
I run the push or pop commands - so you should make sure the stack is
not stored using a relative path.
|
|
Q: Problem #2 (stack commands), can I do this one in perl?
A: Sure.
|
|
Q: For Problem #4 (bash startup files), what do you mean by
"system-wide" shell startup file - doesn't the shell look at my
startup files?
A: There is a startup file that is shared by all users, that
bash reads and executes every time you start a shell - that's the one
you need to find and document (not your startup files!).
|