Development > Scripting and Bash

Linux Shell Scripting Cookbook

<< < (2/3) > >>

bitsnpcs:
@Moltke  Thank You :)

Moltke:
@bitsnpcs and everyone else interested, here's the book's link https://gutl.jovenclub.cu/wp-content/uploads/2013/10/Linux.Shell_.Scripting.Cookbook.pdf

bitsnpcs:

--- Quote from: Moltke on September 16, 2018, 10:31:55 PM ---

--- Quote ---I found 1 error to date,  page 37 of 384, #3 on the page.
--- End quote ---

@bitsnpcs I can't find that example on page 37. Are you sure it's the correct page? What's the lesson title/about?

--- End quote ---

Page number on the actual book says Page 20 (of the chapter 1), page number for the entire book in the pdf reader says page 37 of 384.

It is in the Title "Math with the Shell", under #3


Moltke:


--- Quote ---I found 1 error to date,  page 37 of 384, #3 on the page.
--- End quote ---

@bitsnpcs I can't find that example on page 37. Are you sure it's the correct page? What's the lesson title/about?

bitsnpcs:
#2 on the same page

I used a lot of time and tried all kind of things for the increment exercise. Including all from Stack Exchange and AskUbuntu on questions about increments, not specifically this book or exercise.


--- Code: ---let no1++
--- End code ---

Eventually I tried changing the final line to


--- Code: ---echo $no1
--- End code ---

Rather than as I was using which was


--- Code: ---echo $result
--- End code ---

From earlier in #2 section.
Felt a bit silly but was glad I got there in the end.

Hope it saves someone some time in making the same mistake as I had.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version