Skip to content

Commit 098d21f

Browse files
committed
better explanation of scripts and bash
1 parent bea5507 commit 098d21f

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

bibliography/bibliography.bib

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ @string { a_murray_derek_gordon
160160
@string { a_naik_ganesh = "Ganesh Naik" }
161161
@string { a_negus_christopher = "Christopher Negus" }
162162
@string { a_nelson_andrew_r_j = "Andrew R.\ J.\ Nelson" }
163+
@string { a_newham_cameron = "Cameron Newham" }
163164
@string { a_nguyen_quan = "Quan Nguyen" }
164165
@string { a_niemeyer_patrick = "Patrick Niemeyer" }
165166
@string { a_niven_ivan = "Ivan Niven" }
@@ -190,6 +191,7 @@ @string { a_reddy_tyler
190191
@string { a_ribeiro_antonio_h = "Ant{\^o}nio H.\ Ribeiro" }
191192
@string { a_robertson_edmund_f = "Edmund F.\ Robertson" }
192193
@string { a_roscoe_timothy = "Timothy Roscoe" }
194+
@string { a_rosenblatt_bill = "Bill Rosenblatt" }
193195
@string { a_russel_stuart = "Stuart J.\ Russell" }
194196
@string { a_sachsenberg_timo = "Timo Sachsenberg" }
195197
@string { a_sagher_yoram = "Yoram Sagher" }
@@ -1010,6 +1012,16 @@ @article{N1939TTOP
10101012
doi = {10.2307/2302515}
10111013
}
10121014

1015+
@book{NR2005LTBSUSPCB3,
1016+
author = a_newham_cameron # and # a_rosenblatt_bill,
1017+
title = {Learning the \bash\ Shell -- Unix Shell Programming: Covers \bash~3.0},
1018+
edition = {3},
1019+
publisher = p_oreilly,
1020+
address = pa_oreilly,
1021+
date = {2005},
1022+
isbn = {978-0-596-00965-6},
1023+
}
1024+
10131025
@inbook{O2024CD,
10141026
title = {Class Double},
10151027
crossref = {O2024JPSEJDKV2AS},

notation/software.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ text={\softwareStyle{Bash}},%
1010
name={Bash},%
1111
sort={Bash},%
1212
description={%
13-
is a the shell used under \ubuntu\ \linux, i.e., the program that \inQuotes{runs} in the \pgls{terminal} and interprets your commands, allowing you to start and interact with other programs~\cite{Z2017MB,BN2018BC}. %
13+
is a the shell used under \ubuntu\ \linux, i.e., the program that \inQuotes{runs} in the \pgls{terminal} and interprets your commands, allowing you to start and interact with other programs~\cite{NR2005LTBSUSPCB3,Z2017MB,BN2018BC}. %
1414
Learn more at \url{https://www.gnu.org/software/bash/}.%
1515
}%
1616
}%

text/back/scripts.tex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
\hsection{Scripts}%
22
%
33
Here we provide some scripts that are used within this book.
4-
The book focuses on \python\ programming, so \bash\ shell scripts are not in the center of our attention and may mess up the flow of chapters.
5-
Nevertheless, the book would be incomplete if these scripts were not provided as well.
6-
So we put them here, at the end of the book.%
4+
These scripts are written for the \bash\ shell, which is the default interpreter running in \ubuntu\ \linux\ \pglspl{terminal}.
5+
Therefore, they will not work under \windows\ or other operating systems.
6+
Now, our book focuses on \python\ programming, so \bash\ shell scripts are not in the center of our attention.
7+
We here cannot explain how \bash\ scripts work or what their syntax is.
8+
There exist plenty of books and resources on this interesting topic, such as~\cite{NR2005LTBSUSPCB3,Z2017MB,BN2018BC} or \url{https://www.gnu.org/software/bash/}.
9+
If we would include the scripts in the places where we use them in this book, then this would lead to confusion or tangents in the text which would mess up the flow of chapters.
10+
Nevertheless, the book would be incomplete if these scripts were not provided at all.
11+
So we put them here, at the end of the book, where they do not hurt anyone and where the interested reader may check them out.%
712
%
813
\gitBash{\programmingWithPythonCodeRepo}{scripts/mypy.sh}{bash:mypy}{%
914
A \bash\ script for executing \mypy, which prints the command line and the exit code.%
1015
}%
1116
%
17+
\FloatBarrier%
1218
\endhsection%
1319
%

0 commit comments

Comments
 (0)