From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: linuxfever Newsgroups: gmane.emacs.help Subject: Pipe bash file contents to shell Date: Thu, 30 Jun 2011 07:33:58 -0700 (PDT) Message-ID: <31963679.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309454137 19299 80.91.229.12 (30 Jun 2011 17:15:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2011 17:15:37 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 19:15:33 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QcKpx-0008Ua-2L for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 19:15:33 +0200 Original-Received: from localhost ([::1]:46777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcKpv-0004ZD-SX for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2011 13:15:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcIJj-00031K-Ty for Help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 10:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcIJh-0002HV-I2 for Help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 10:34:07 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:46987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcIJh-0002Gs-6D for Help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 10:34:05 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QcIJa-00012Z-5L for Help-gnu-emacs@gnu.org; Thu, 30 Jun 2011 07:33:58 -0700 X-Nabble-From: linuxfever@yahoo.gr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 X-Mailman-Approved-At: Thu, 30 Jun 2011 12:38:50 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81459 Archived-At: Hello all, I was wondering whether there is a way to pass contents of a bash script file into a shell buffer in Emacs (23.2). For example, if my bash file contains a single line "ls -al", I would like to highlight that line, and by pressing a keybind, have the command executed and its output shown in the shell buffer. Is it at all possible? Thanks for any suggestions! -- View this message in context: http://old.nabble.com/Pipe-bash-file-contents-to-shell-tp31963679p31963679.html Sent from the Emacs - Help mailing list archive at Nabble.com.