[wplug] bash for i?
Steve Polyack
korvus at comcast.net
Thu Sep 4 07:48:31 EDT 2008
You're missing the statement that tells bash/sh you are done with the
loop. Try it this way:
for i in 'dpkg -l|grep xserver-xorg-video'; do 'dpkg --purge $i'; done
Zach Uram wrote:
> I want this script to remove all xserver-xorg-video-* packages but
> when I run it it takes me to some ">" prompt?
>
> #!/bin/bash
>
> for i in 'dpkg -l|grep xserver-xorg-video' do 'dpkg --purge $i'
>
> Zach
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
>
More information about the wplug
mailing list