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

help4407


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

Assignment 2, Task 1.

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Jason V.
Date: Fri 22nd May, 11:57am
Actions: 
        Login-to-reply

 

Ok, I think I have misinterpreted the question partly.

To clarify, when I call ./updateversion, it checks all the appropriate files in the CURRENT DIRECTORY (where the updateversion script is located) and 
updates the comment as specified.

So if the script is in the same folder as calcmarks then the comments in calcmarks will be updated as specified.
If I had another project (let's say myProject), I can move the script inside myProject and run ./updateversion. This will update the comments in myProject 
as specified.

The specifications for Q1 say that the project name can be taken in as an argument but that is not entirely necessary as there would be a way to get the 
root folder name through a few bash commands.

Is the above on the right track?

Related articles

Assignment 2, Task 1. (all 11) RSS
├─ original   Tue 12th May, 8:24pm, David M.
├─ reply 1   Wed 13th May, 6:39am, Christopher M.
├─ reply 2   Thu 21st May, 6:17pm, Jason V.
├─ reply 3   Fri 22nd May, 12:30am, David M.  O.P.
├─ reply 4   Fri 22nd May, 7:42am, Christopher M.
├─ THIS   Fri 22nd May, 11:57am, Jason V.
├─ reply 6   Fri 22nd May, 12:29pm, Christopher M.
├─ reply 7   Fri 22nd May, 12:38pm, Jason V.
├─ reply 8   Fri 22nd May, 7:12pm, Suyash J.
├─ reply 9   Fri 22nd May, 8:03pm, David M.  O.P.
└─ reply 10   Sun 24th May, 7:37am, Christopher M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  3:57pm Aug 06 2020