Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: grep, sed, cut , sh, awk scripting


  • Subject: RE: lug-bg: grep, sed, cut , sh, awk scripting
  • From: bkrosnov@xxxxxxxx (Boyan Krosnov)
  • Date: Sun, 16 Sep 2001 15:10:36 +0300



#!/bin/bash
cat file.txt | \
while read i; do
  echo wget "ftp://ftp.serv.org/path/to/files$i";
done

ili po-nechetliwata mu forma
cat file.txt | while read i; do wget
"ftp://ftp.serv.org/path/to/files$i";; done

> -----Original Message-----
> From: George Danchev [mailto:danchev@xxxxxxxxx]
> Sent: Sunday, September 16, 2001 2:59 PM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: Re: lug-bg: grep, sed, cut , sh, awk scripting
> 
> 
> az pak imam edin "slab" vupros :
> imam txt file sys slednoto sydyrzhanie:
> /bla/file.tar.gz
> /fgfg/dfdf.tar.gz
> ..............
> 
> kak da zacyklq wget da iztegli tezi files edin po edin ot 
> ftp://ftp.serv.org/path/to/files
> demek da my podavam posledovatelno URL-tata:
> ftp://ftp.serv.org/path/to/files/bla/file.tar.gz
> ftp://ftp.serv.org/path/to/files/fgfg/dfdf.tar.gz
> ..................................
> pozvoleni programni sredstva sa goreizbroenite
> 
> 10x
> ==============================================================
> =============
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. 
> - Stara Zagora
> 
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.