[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Bash for-loop; s kriv tæller med foranstilled e nuller?



On Sun, 29 Mar 2009 11:36:22 +0200, Jørgen Heesche <sslug@sslug> wrote:

Michael Schmidt wrote:
Hej NG,
Jeg har lige brugt et bash for-loop:
]$ for i in `seq 1 126`; do wget http://www.example.org/contenpages/article$i.html; done
 -og er mega stolt over at have løst opaven selv :)
til at lade wget hente en række nummerede filer (kunne ikke få wget til at acceptere jokertegn) Dog stødte jeg på en gruppe af filer der var nummereret med foranstillede nuller (0) der så _ikke_ blev medtaget af min -nu knap så- smarte løsning.
 Er der en nifty måde at tælle med foranstillede nuller?

Ikke fordi det betyder noget for løsning af opgaven, men hvilken webside er der tale om?. www.example.org/contenpages eller www.example.org/contentpages findes ikke.
Nej det gør den ikke fordi den er reserveret til brug for eksempeler sammen med example.com og example.net.
jf. RFC 2606 : http://www.rfc-editor.org/rfc/rfc2606.txt



--
Med venlig hilsen
/Zmit/
RLU # 314205


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-04-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *