Get part of result of command line in OS X I would like to use the following command line to get the current Wi-Fi channel. 

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I


I would like to use exactly this command, because it's possible that I'm using more parts of the result.
So I'm needing an AppleScript that returns me only the current Wi-Fi channel of the command.

I'm thankful for any help.
:)
I would recommend using the "grep" and "awk" commands from bash.  You can use them to parse the data given in bash.  Here is example using the details you described above.

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep "channel" | awk '{print $2}'


Do yourself a favor and sym link the binary to /usr/local/bin so you can just type airport (or script it)

airport -I | grep "channel" | awk '{print $2}'