Kiwix/Wikipedia Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZMwL4TnBhKlaC5Nltl5d1AK
Extract every Nth line from a Text File using Command Line
In this video, I use the command line tool awk to extract every third line from a captions.sbv file. This should work on Mac, Linux and Windows Subsystem for Linux.
Move to Desktop Folder
cd ~/Desktop
View File (hit q to exit)
less captions.sbv
Extract Every Third Line from captions.sbv
awk 'NR % 3 == 2' captions.sbv
‘3’ is for every third line.
‘2’ means start with the 2nd line.
Save Every Third Line to a Text File
awk 'NR % 3 == 2' captions.sbv > captions.txt
Convert Linefeeds to Spaces
awk 'NR % 3 == 2' captions.sbv |tr '\n' ' ' > captions.txt
Ubiquiti NanoBeam AC Gen2 Bridge Config Quick Overview
Nanobeam AC Gen2 (Amazon Affiliate)
US: https://amzlink.to/az0dU54RThOv8
CA: https://amzlink.to/az09lICGKpRov
NBE-WMK NanoBeam Wall Mount Kit (Amazon Affiliate)
US: https://amzlink.to/az0TRsNjWyZMx
CA: https://amzlink.to/az0Evkj5qevSH
Universal Antenna Mount UB-MA (Amazon Affiliate)
US: https://amzlink.to/az0hl9w8Crjq1
CA: https://amzlink.to/az0QVen96iCC5
Ubiquiti NanoBeam AC Gen2 Unboxing: https://youtu.be/W29C9acK2hM
Ubiquiti NanoBeam AC Gen2 Basic Wireless Bridge Setup: https://youtu.be/0PebrOXwOMs
Ubiquiti NanoBeam AC Gen2 Advanced Wireless Bridge Setup: https://youtu.be/13AjR-KGOKg
Ubiquiti Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZMvlAWtV85XcJ1O48vo6N1O
