12-19-2013
Quote:
Originally Posted by
imdalucky1
However, I noticed that "Visual Studio 6, Visual Studio 2003, and Visual Studio 2008 projects" already exist in the folder "win32" [which is under yaml-0.1.4 directory].
You would use these
instead of ./configure and
make.
Quote:
So according to my observation, the reason could be some formatting issues in "configure" file which is originally in "dos" format but I want to use it with cygwin (which you know provides unix/linux like environment in windows).
./configure was never in "dos" format. The .tar.gz is for all architectures and "converting" it will ruin it even more.
10 More Discussions You Might Find Interesting
1. Linux
postfix configuration issues...specifically masquerading (lack of )
Mail sent to our intranet arrives correctly (me@domain.com).
Mail sent to our intranet arrives correctly (me@domain.com).
Anything going outside does not, so my tests get rejected (me@hostname.com) :(
any assistance... (5 Replies)
Discussion started by: mr_manny
5 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I recently upgraded to windows 7 and am therefore reinstalling cygwin/x11 after a long time. On XP I would start xterm from the startxwin.bat file. I am experiencing trouble starting with the startxwin executable which is the new recommended startup method as well as afew other... (2 Replies)
Discussion started by: ScKaSx
2 Replies
3. Solaris
hi all
i am a newbie to solaris and i am doing some R&D in veritas volume manager. This is my first day with veritas. I downloaded and installed Veritas storage foundation 5.1 package in my sun solaris 5.10 sparc machine. When i try to create disk group in vxvm, it giving one error message. I am... (6 Replies)
Discussion started by: kingston
6 Replies
4. Solaris
Hi Geeks,
I am trying to configure 'postfix' for sending mail only instead of 'sendmail'.
I am getting following error when I try to send mail using mailx command.
#echo "test" | mailx -s "test mail" <username> -- command executed from server
--/var/log/syslog output :
Jul 8 12:55:44... (0 Replies)
Discussion started by: abhkadam
0 Replies
5. Linux
Hi,
I am new in squid. We need to make our squid users to be authenticated by Windows AD. The squid proxy is installed on SuSE linux. Here are AD related settings:
auth_param basic program /usr/sbin/squid_ldap_auth -P -R -v 3 \
-b "dc=mydomain,dc=com" \
-D cn=squid.bind,ou=service... (1 Reply)
Discussion started by: aixlover
1 Replies
6. UNIX for Dummies Questions & Answers
I'm not sure if this is the right place to post this or should I even be posting this here but here is my problem. I've recently installed Cygwin on my windows laptop so that I can run shell scripts. However I'm getting lots of errors with most lines of code in my scripts although the syntax is... (9 Replies)
Discussion started by: millsy5
9 Replies
7. Shell Programming and Scripting
removing post since it got fix (1 Reply)
Discussion started by: kishore150
1 Replies
8. Linux
Hi
I have tried setting up of Apache http server - httpd-2.4.25.
During configuration, I understand it needs APR to be setup. Hence I have downloaded APR & APR-Util.
Performed,
tar xvfC apr-1.5.2.tar /root/httpd-2.4.25/srclib/apr
What is happening is there is another directory... (1 Reply)
Discussion started by: videsh77
1 Replies
9. What is on Your Mind?
For the first time in the history of the site Google Search Console (GSC) has unix.com showing "no mobile viewability errors". This is no small achievement considering the hundreds of thousand of lines of legacy code we run at a site which has been around much longer than Facebook or LinkedIn:
... (0 Replies)
Discussion started by: Neo
0 Replies
10. Shell Programming and Scripting
After the success of the jq - tool for parsing and manipulating JSON-Data someone wrote a tool called yq, which aims to be the same for YAML, what jq is for JSON. Seems to work fine. I'll definitely give it a chance in future.
Example YAML-File:
--- !ruby/object:Puppet::Node::Facts
... (1 Reply)
Discussion started by: stomp
1 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)