See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Shell Scripting Cookbook
#2
#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++

Eventually I tried changing the final line to

Code:
echo $no1

Rather than as I was using which was

Code:
echo $result

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.


Messages In This Thread
Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 01:53 AM
Re: Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 02:00 AM
Re: Linux Shell Scripting Cookbook - by Moltke - 09-17-2018, 02:31 AM
Re: Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 02:38 AM
Re: Linux Shell Scripting Cookbook - by Moltke - 09-17-2018, 02:39 AM
Re: Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 02:44 AM
Re: Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 02:51 AM
Re: Linux Shell Scripting Cookbook - by Moltke - 09-17-2018, 03:41 AM
Re: Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 11:47 AM
Re: Linux Shell Scripting Cookbook - by Moltke - 09-17-2018, 07:39 PM
Re: Linux Shell Scripting Cookbook - by bitsnpcs - 09-17-2018, 07:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)