Skip to content

Commit 98d23ac

Browse files
committed
Remove $ to make it easier to cut & paste commands
1 parent 703f19b commit 98d23ac

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

README.md

+31-31
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ This program receives NRSC-5 digital radio stations using an RTL-SDR dongle. It
44

55
## Building on Ubuntu, Debian or Raspbian
66

7-
$ sudo apt install git build-essential cmake autoconf libtool libao-dev libfftw3-dev librtlsdr-dev
8-
$ git clone https://github.com/theori-io/nrsc5.git
9-
$ cd nrsc5
10-
$ mkdir build
11-
$ cd build
12-
$ cmake [options] ..
13-
$ make
14-
$ sudo make install
15-
$ sudo ldconfig
7+
sudo apt install git build-essential cmake autoconf libtool libao-dev libfftw3-dev librtlsdr-dev
8+
git clone https://github.com/theori-io/nrsc5.git
9+
cd nrsc5
10+
mkdir build
11+
cd build
12+
cmake [options] ..
13+
make
14+
sudo make install
15+
sudo ldconfig
1616

1717
Available build options:
1818

@@ -24,25 +24,25 @@ Available build options:
2424

2525
You can test the program using the included sample capture:
2626

27-
$ xz -d < ../support/sample.xz | src/nrsc5 -r - 0
27+
xz -d < ../support/sample.xz | src/nrsc5 -r - 0
2828

2929
## Building on Fedora
3030

3131
Follow the Ubuntu instructions above, but replace the first command with the following:
3232

33-
$ sudo dnf install make patch cmake autoconf libtool libao-devel fftw-devel rtl-sdr-devel libusb-devel
33+
sudo dnf install make patch cmake autoconf libtool libao-devel fftw-devel rtl-sdr-devel libusb-devel
3434

3535
## Building on openSUSE
3636

3737
Follow the Ubuntu instructions above, but replace the first command with the following:
3838

39-
$ zypper install -t pattern devel_C_C++
40-
$ zypper install git cmake libao-devel fftw3-devel rtl-sdr-devel libusb-1_0-devel
39+
zypper install -t pattern devel_C_C++
40+
zypper install git cmake libao-devel fftw3-devel rtl-sdr-devel libusb-1_0-devel
4141

4242
## Building on macOS using [Homebrew](https://brew.sh)
4343

44-
$ curl https://raw.githubusercontent.com/theori-io/nrsc5/master/nrsc5.rb > /tmp/nrsc5.rb
45-
$ brew install --HEAD -s /tmp/nrsc5.rb
44+
curl https://raw.githubusercontent.com/theori-io/nrsc5/master/nrsc5.rb > /tmp/nrsc5.rb
45+
brew install --HEAD -s /tmp/nrsc5.rb
4646

4747
## Building for Windows
4848

@@ -52,20 +52,20 @@ To build the program for Windows, you can either use [MSYS2](http://www.msys2.or
5252

5353
Install [MSYS2](http://www.msys2.org). Open a terminal using the "MSYS2 MinGW 32-bit" shortcut. (Or use the 64-bit shortcut if you prefer a 64-bit build.)
5454

55-
$ pacman -Syu
55+
pacman -Syu
5656

5757
If this is the first time running pacman, you will be told to close the terminal window. After doing so, reopen using the same shortcut as before.
5858

59-
$ pacman -Su
60-
$ pacman -S git
61-
$ git clone https://github.com/theori-io/nrsc5.git
62-
$ nrsc5/support/msys2-build
59+
pacman -Su
60+
pacman -S git
61+
git clone https://github.com/theori-io/nrsc5.git
62+
nrsc5/support/msys2-build
6363

6464
You can test your installation using the included sample file:
6565

66-
$ cd ~/nrsc5/support
67-
$ xz -d sample.xz
68-
$ nrsc5.exe -r sample 0
66+
cd ~/nrsc5/support
67+
xz -d sample.xz
68+
nrsc5.exe -r sample 0
6969

7070
If the sample file does not work, make sure you followed all of the instructions. If it still doesn't work, file an issue with the error message. Please put "[Windows]" in the title of the issue.
7171

@@ -76,15 +76,15 @@ Once everything is built, you can run nrsc5 independently of MSYS2. Copy the fol
7676

7777
### Cross-compiling for Windows from Ubuntu / Debian
7878

79-
$ sudo apt install mingw-w64
80-
$ support/win-cross-compile 32
79+
sudo apt install mingw-w64
80+
support/win-cross-compile 32
8181

8282
Replace `32` with `64` if you want a 64-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win32/bin` (or `build-win64/bin`) folder to your Windows machine.
8383

8484
### Cross-compiling for Windows from macOS
8585

86-
$ brew install mingw-w64
87-
$ support/win-cross-compile 32
86+
brew install mingw-w64
87+
support/win-cross-compile 32
8888

8989
Replace `32` with `64` if you want a 64-bit build. Once the build is complete, copy `*.dll` and `nrsc5.exe` from the `build-win32/bin` (or `build-win64/bin`) folder to your Windows machine.
9090

@@ -125,19 +125,19 @@ Replace `32` with `64` if you want a 64-bit build. Once the build is complete, c
125125

126126
Tune to 107.1 MHz and play audio program 0:
127127

128-
$ nrsc5 107.1 0
128+
nrsc5 107.1 0
129129

130130
Tune to 107.1 MHz and play audio program 0. Manually set gain to 49.0 dB and save raw IQ samples to a file:
131131

132-
$ nrsc5 -g 49.0 -w samples1071 107.1 0
132+
nrsc5 -g 49.0 -w samples1071 107.1 0
133133

134134
Read raw IQ samples from a file and play back audio program 0:
135135

136-
$ nrsc5 -r samples1071 0
136+
nrsc5 -r samples1071 0
137137

138138
Tune to 90.5 MHz and convert audio program 0 to WAV format for playback in an external media player:
139139

140-
$ nrsc5 -o - 90.5 0 | mplayer -
140+
nrsc5 -o - 90.5 0 | mplayer -
141141

142142
### Keyboard commands:
143143

0 commit comments

Comments
 (0)