Why Doesn't This Work?

I have a bash script. Here's a portion:

pi=$(subscription-manager list --available | awk '/Pool ID/ {print $3}')
echo $pi
subscription-manager attach --pool=$pi


When I run it, it shows:

[vagrant@rhel-cdk shared]$ sudo ./installdotnet.sh
8a85f981564576f701564c87d8f9357e
 could not be found.1564576f701564c87d8f9357e



Why is the pool id getting mangled??

Comments

erik said…
Sorry, no idea. Have you tried posting the question to Stack Overflow (or one if its ilk)?
Mac donald said…
Hi are using Wordpress for your site platform? I'm new to the blog world but I'm trying to get started and set up my own. Do you need any coding knowledge to make your own blog? Any help would be greatly appreciated!

Popular posts from this blog

Don's Black Bean Dip Recipe

My Amazing Project at Red Hat