Thread View: pl.comp.os.bsd
3 messages
3 total messages
Started by dyfuzor
Wed, 07 Apr 2004 10:38
bash
Author: dyfuzor
Date: Wed, 07 Apr 2004 10:38
Date: Wed, 07 Apr 2004 10:38
12 lines
1200 bytes
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
Author: dyfuzor
Date: Wed, 07 Apr 2004 10:43
Date: Wed, 07 Apr 2004 10:43
2 lines
951 bytes
951 bytes
sory za posta $i ...n/c
Re: bash
Author: Jan Szumiec
Date: Fri, 09 Apr 2004 20:48
Date: Fri, 09 Apr 2004 20:48
17 lines
1360 bytes
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