Go offline with the Player FM app!
HPR0962: LiTS 004: paste
Archived series ("Inactive feed" status)
When? This feed was archived on February 10, 2021 18:12 (). Last successful fetch was on February 26, 2021 20:39 ()
Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 78315075 series 49648
In the fourth in his series Dann, shows us the benefits of the paste command:
The paste command merges the lines of two or more files or a file and standard in if a second file is not specified or a "-" is used in place of the second file. Consider the following two files. The first file, test1.txt contains the following lines:
a
one
three
cat
good
The second file, test2.txt contains the following lines:
tuna
blue finch
dogs
fish
eats
The paste command can be used to paste these two files like so:
paste test1.txt test2.txt
producing the following output:
a tuna
one blue finch
three dogs
cat fish
good eats
Each line in test1.txt has been “pasted” to the corresponding line in test2.txt.
http://www.linuxintheshell.com/2012/04/10/episode-004-paste/ for the complete shownotes, including video.
3280 episodes
Archived series ("Inactive feed" status)
When? This feed was archived on February 10, 2021 18:12 (). Last successful fetch was on February 26, 2021 20:39 ()
Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.
What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.
Manage episode 78315075 series 49648
In the fourth in his series Dann, shows us the benefits of the paste command:
The paste command merges the lines of two or more files or a file and standard in if a second file is not specified or a "-" is used in place of the second file. Consider the following two files. The first file, test1.txt contains the following lines:
a
one
three
cat
good
The second file, test2.txt contains the following lines:
tuna
blue finch
dogs
fish
eats
The paste command can be used to paste these two files like so:
paste test1.txt test2.txt
producing the following output:
a tuna
one blue finch
three dogs
cat fish
good eats
Each line in test1.txt has been “pasted” to the corresponding line in test2.txt.
http://www.linuxintheshell.com/2012/04/10/episode-004-paste/ for the complete shownotes, including video.
3280 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.