gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master eee7a85: Book: corrected compilation bug in la


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master eee7a85: Book: corrected compilation bug in last commit
Date: Wed, 22 Apr 2020 21:01:05 -0400 (EDT)

branch: master
commit eee7a850513fdc3aca46a557ffd39a6675d6bbce
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Book: corrected compilation bug in last commit
    
    I just noticed that while I fixed this during the build, I forgot to commit
    it! I had forgot to add a `@' before the curly braces of the AWK command of
    the example code in the book.
---
 doc/gnuastro.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index f555d59..a45d009 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -14518,7 +14518,7 @@ Just note that this demo only works when 
@code{area_per_pixel} is larger than on
 
 @example
 area_per_pixel=25
-scale=$(echo $area_per_pixel | awk '{print sqrt($1)}')
+scale=$(echo $area_per_pixel | awk '@{print sqrt($1)@}')
 astarithmetic image.fits -h0 nan + isblank not -ozero.fits
 astmknoise zero.fits -onoise.fits
 astwarp --scale=1/$scale,1/$scale noise.fits -onoise-w.fits



reply via email to

[Prev in Thread] Current Thread [Next in Thread]