all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel (Youngwhan)" <breadncup@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Reading OS Version and decide what to do?
Date: Thu, 24 May 2012 10:25:29 -0700 (PDT)	[thread overview]
Message-ID: <32b2aaad-e3e1-42fe-a4e2-8316536c1fde@f9g2000pbd.googlegroups.com> (raw)

Hi,

I have no knowledge about Emacs LISP, but is there any way to get what
os version is being used?

For example, on linux and bash and external utility like cut, I can
get the os version by "uname -r" and get what I want by using cut
utility.

Is there a way to simulate like that in Emacs LISP? like launching
external process like "cut" or "uname -r" and get a string and if the
string matches what I want, do something and otherwise, do others?

Daniel


             reply	other threads:[~2012-05-24 17:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-24 17:25 Daniel (Youngwhan) [this message]
2012-05-24 18:44 ` Reading OS Version and decide what to do? Pascal J. Bourguignon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32b2aaad-e3e1-42fe-a4e2-8316536c1fde@f9g2000pbd.googlegroups.com \
    --to=breadncup@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.