To set the correct package set PKG_CONFIG_PATH so that it picks up right files
Example:
PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure
Sunday, December 28, 2008
Monday, December 15, 2008
creating bash variable which has newline
Normally bash does not process \n the way c does.
myVar="Hi there.\n Me Here";
echo "$myVar";
above will just print
Hi there.\n Me Here
Use for c type of interpretation
so changing above script to
myVar="Hi there."$'\n'" Me Here";
echo "$myVar";
This will print
Hi there.
Me Here
myVar="Hi there.\n Me Here";
echo "$myVar";
above will just print
Hi there.\n Me Here
Use for c type of interpretation
so changing above script to
myVar="Hi there."$'\n'" Me Here";
echo "$myVar";
This will print
Hi there.
Me Here
Subscribe to:
Posts (Atom)