Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).

Assignment 2 and Clarifications.
RSS cloud
Jump to:

Task 3 - Assignment 1

1 of 390 articles shown, currently no other people reading this forum.
From: Christopher M.
Date: Mon 13th Apr, 4:33pm
"Rohit Atri"                               wrote:

> a.) Will words within angled brackets contain special characters and numbers as well? 
> If yes, then are we suppose to consider them as part of the word or extract just the 
> alphabets within them and add entries to the index accordingly. For e.g will the 
> words          and <linux2> be two separate words or they should be added to the 
> index of common word 'linux' ?

I appreciate your concern and desire to get this correct, but you're "overthinking it".

Yes, ANY characters may appear within the angle brackets.
If the character sequences between two sets of angle brackets are different,
then they result in different index terms  (other than alphabetic case being mapped to 

If the book author makes a mistake in how they mark the desired index entries, than that's their 
task to fix the entries,  not for the shellscript writer to guess what the author may have meant.

> b.) About words with spaces in them: if we've two words like < linux > and <linux > 
> i.e words which have same alphabets but different space position within the angled 
> brackets, then are we supposed to consider these kinds of words as just one word 
> "linux" or two different words " linux " and "linux " ?

As for your first question.

Related articles

Task 3 - Assignment 1 (all 5) RSS
├─ original   Mon 13th Apr, 4:19pm, Rohit A.
├─ THIS   Mon 13th Apr, 4:33pm, Christopher M.
├─ reply 2   Mon 13th Apr, 7:41pm, Rohit A.  O.P.
├─ reply 3   Wed 15th Apr, 8:20pm, Rohit A.  O.P.
└─ reply 4   Thu 16th Apr, 4:27am, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020