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
- Предишно по дата:
Re: lug-bg: grep, sed, cut , sh, awk scripting
- Следващо по дата:
Re: lug-bg: grep, sed, cut , sh, awk scripting
- Предишно по тема:
RE: lug-bg: Problem when replacing Init
- Следващо по тема:
RE: lug-bg: grep, sed, cut , sh, awk scripting
- Индекс:
|