LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2012, 09:43 AM   #16
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405

Hi,
Quote:
Originally Posted by cbtshare View Post
tried it at the command line, by entering random text to fill VAR:
Give the original mentioned content a try
 
Old 01-16-2012, 10:55 AM   #17
cbtshare
Member
 
Registered: Jul 2009
Posts: 645

Rep: Reputation: 42
ah It actually works, once you format the text and put it all in one line...may not be worth it though, depends on how bad you need to use sed.
 
Old 01-16-2012, 02:34 PM   #18
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Everyone, please use [code][/code] tags around your code and data, to preserve formatting and to improve readability. DO NOT use quote tags, colors, or other fancy highlighting techniques. None of them protect whitespace or formatting.

To cbtshare especially, that long unbroken chain of letters is forcing the page to side-scroll very annoyingly. Please edit it to use code tags instead.

Last edited by David the H.; 01-16-2012 at 02:36 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pass Variable to smbclient artvarck Linux - Newbie 5 02-23-2010 12:49 PM
pass the variable contain lrios Programming 7 04-18-2008 04:56 PM
How to pass mysql query to a variable? chynna_v Programming 4 09-03-2004 05:09 AM
How do I pass a C variable to a Bash command ? Linh Programming 6 07-07-2003 03:12 PM
Pass text to variable Zed Linux - Software 6 05-12-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration