🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by dyfuzor Wed, 07 Apr 2004 10:38
bash
#486
Author: dyfuzor
Date: Wed, 07 Apr 2004 10:38
12 lines
1200 bytes
Potrzebuje pomocy z programowania w bash.

for i in `cat /etc/dhcpd.conf |grep 192.168.1. |awk '{print $2}'|grep
192.168.1|sed 's/;//'`; do
    /sbin/ipfw add pipe 1 ip from any to $1 via xl0 in

^^^^
    /sbin/ipfw add pipe 2 ip from $1 to any via xl0 out
done

chodzi mi o wartosc "in" jak zrobic aby nie rozpoznawalo tego jako skladnie
jezyka?
Re: bash
#487
Author: dyfuzor
Date: Wed, 07 Apr 2004 10:43
2 lines
951 bytes
sory za posta $i
...n/c
Re: bash
#488
Author: Jan Szumiec
Date: Fri, 09 Apr 2004 20:48
17 lines
1360 bytes
On 2004-04-07, dyfuzor <dyf...@wp.pl> wrote:
> Potrzebuje pomocy z programowania w bash.
>
> for i in `cat /etc/dhcpd.conf |grep 192.168.1. |awk '{print $2}'|grep
> 192.168.1|sed 's/;//'`; do
>     /sbin/ipfw add pipe 1 ip from any to $1 via xl0 in
>
> ^^^^
>     /sbin/ipfw add pipe 2 ip from $1 to any via xl0 out
> done
>
> chodzi mi o wartosc "in" jak zrobic aby nie rozpoznawalo tego jako skladnie
> jezyka?
>
>

Chyba NTG, ale mo¿esz zacytowaæ komendê przy pomocy na przyk³ad "
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads