The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
copy contents of one column in another raman1605 Shell Programming and Scripting 4 05-12-2008 09:58 AM
Copy text from a file from VI editor to Windows clipboard zhshqzyc UNIX for Dummies Questions & Answers 13 08-07-2007 07:19 PM
Copy selected contents from file misenkiser Shell Programming and Scripting 4 10-05-2006 12:12 PM
copy folder contents robsk8_99 UNIX for Dummies Questions & Answers 1 02-22-2005 06:54 PM
How to Copy Contents from CD to Hard disk vr76413 UNIX for Dummies Questions & Answers 4 07-06-2003 01:20 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-28-2006
ilak1008 ilak1008 is offline
Registered User
  
 

Join Date: May 2005
Posts: 64
Automatic Copy of File Contents to Clipboard

Could someone show me how to copy the contents of a file to the clipboard automatically without manually selecting its contents? I just want to press the "Paste Key" to show the results. I wish to use this in a ksh script.

I'm using Solaris.

Thanks!
  #2 (permalink)  
Old 09-28-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,942
You may find xclip to be useful.
  #3 (permalink)  
Old 09-30-2006
ilak1008 ilak1008 is offline
Registered User
  
 

Join Date: May 2005
Posts: 64
I downloaded the xclip files and followed the procedure mentioned in the INSTALL.txt file. From /usr/openwin/bin directory, I ran xmkmf and got the following error message:
imake DUseInstalled -I/usr/openwin/bin/lib/X11/config
imake: No such file or directory: No description file. Stop.

Could you please tell me what have I done wrong?
  #4 (permalink)  
Old 10-08-2006
ilak1008 ilak1008 is offline
Registered User
  
 

Join Date: May 2005
Posts: 64
Exclamation

Could someone please help me out with this problem?
  #5 (permalink)  
Old 10-09-2006
ilak1008 ilak1008 is offline
Registered User
  
 

Join Date: May 2005
Posts: 64
Help from anyone?
  #6 (permalink)  
Old 10-10-2006
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,942
Sorry. Didn't mean to ignore you, I somehow overlooked this thread.

Try just running 'make'. You may need to modify the paths in Makefile.

Last edited by Corona688; 10-10-2006 at 12:52 PM..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0