|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
20260411amass download We want to perform a mass download. We want to download the following files: http://example.com/galleryFX/1.jpg http://example.com/galleryFX/2.jpg http://example.com/galleryFX/3.jpg http://example.com/galleryFX/4.jpg http://example.com/galleryFX/5.jpg http://example.com/galleryFX/6.jpg http://example.com/galleryFX/7.jpg http://example.com/galleryFX/8.jpg http://example.com/galleryFX/9.jpg http://example.com/galleryFX/10.jpg http://example.com/galleryFX/11.jpg http://example.com/galleryFX/12.jpg http://example.com/galleryFX/13.jpg http://example.com/galleryFX/14.jpg http://example.com/galleryFX/15.jpg Write a program that produces this output. Tip If we actually want to download these files, proceed as follows: $ ./url_generator >down.txt $ wget -i down.txt Extra challenge The numbers in the filenames are fixed at 2 digits wide: http://example.com/galleryFX/01.jpg http://example.com/galleryFX/02.jpg http://example.com/galleryFX/03.jpg http://example.com/galleryFX/04.jpg http://example.com/galleryFX/05.jpg http://example.com/galleryFX/06.jpg http://example.com/galleryFX/07.jpg http://example.com/galleryFX/08.jpg http://example.com/galleryFX/09.jpg http://example.com/galleryFX/10.jpg http://example.com/galleryFX/11.jpg http://example.com/galleryFX/12.jpg http://example.com/galleryFX/13.jpg http://example.com/galleryFX/14.jpg http://example.com/galleryFX/15.jpg Modify your program accordingly! |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |