LinuxQuestions.org
Register a domain and help support LQ
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 05-14-2013, 08:16 AM   #1
iruhdam
LQ Newbie
 
Registered: Apr 2013
Posts: 6

Rep: Reputation: Disabled
Check whether echoing in a new line


Hi all,

In shell script i want to know whether echoing is happening in a new line else i have to take a new line and then echo.Is it possible??


Thanks..
 
Old 05-14-2013, 08:52 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Explain it litte more with some example. When you will do echo to some text, it will be displayed when you will run the script, so let's where you're stuck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] echoing a command line within a bash script? stf92 Programming 2 07-08-2011 06:57 AM
access a file line by line, and check the length of each line. ddebbie90 Programming 1 02-13-2011 03:31 PM
script to check the last line in a file is blank line or not naveensankineni Programming 10 03-02-2008 12:13 AM
Mp3 are echoing hellfire73 Linux - Software 6 03-19-2006 12:10 AM
Command Line Password Check jedediah Linux - Security 4 12-09-2004 04:01 PM


All times are GMT -5. The time now is 08:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration