Sponsored Content
Full Discussion: Tab and Enter
Top Forums UNIX for Dummies Questions & Answers Tab and Enter Post 302488397 by Scrutinizer on Monday 17th of January 2011 04:22:49 AM
Old 01-17-2011
\ as the last character of the line removes the linefeed character that immediately follows (if it is interpreted by the shell (and some programs))

So:
Code:
plot 'datafile1' , \
'datafile2'

is the same as:
Code:
plot 'datafile1' , 'datafile2'

---------- Post updated at 10:22 ---------- Previous update was at 10:04 ----------

In your last example you use \ before a space instead of a linefeed, BTW. If it is used to remove a linefeed then it needs to be the last character on the line before the linefeed..
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

HELP with Enter Character

I'm using PHP in my site. I have txt files for news. I reads the txt files and post the news. i have a php function that finds the caracter asc(13) which is the enter, and puts a <br>. It works in Windows, but not on Unix. Can u help me with that. Thanks (1 Reply)
Discussion started by: zecarlos
1 Replies

2. Solaris

Cant enter password

When i come to the login screen i will put root and no password, and it will say its incorrect, but even when i try to enter a password nothing comes up in the box (2 Replies)
Discussion started by: possuman72
2 Replies

3. Solaris

Enter to OBP

Hello, today i'm comment in /etc/vfstab fs /usr and my server load in SingleUser without anything commands :( How i can enter to OBP from # ? or ILOM ? I'm try CTRL+BREAK (F5) , CTRL+ALT+BREAK (F5) and #. but it's don't help me :(((( (5 Replies)
Discussion started by: jess_t03
5 Replies

4. Shell Programming and Scripting

how to have ENTER after each symbol.

I want to know script for Input file : 123456789 outputfile : 1 2 3 4 5 6 7 8 9 now please how can generalize it like i want output : 123 456 789 (5 Replies)
Discussion started by: sparkriver
5 Replies

5. Shell Programming and Scripting

Trigger Enter

Hello, I need to trigger every time enter has been clicked while some one on terminal i tried to googleit but with out result any idea ?? thanks in advance (3 Replies)
Discussion started by: AYAK
3 Replies

6. Shell Programming and Scripting

remove enter

Hi All, I have a file , delimited by | Last column of the file has a extra enter causing error in my program Eg: firstworld <enter>; NO EMP i want data to be firstworld; NO EMP Is there a way to remove enter from a file (2 Replies)
Discussion started by: gwrm
2 Replies

7. UNIX for Dummies Questions & Answers

tab delimited file that is not tab delimited.

Hi Forum I have a tab delimited file that opens well in Openoffice calc (excel). But when I perform any operation in command line, it reads the file incorrectly. When I 'save As' the same file in office as tab delimited then it works fine. The file that I think is tab delimited is actually... (8 Replies)
Discussion started by: imlearning
8 Replies

8. Shell Programming and Scripting

Loop logic, enter into respective IF as per enter input file name

have three big data file, however I just need to see the mentioned below one line form the all the file which has SERVER_CONNECTION Value File 1 export SERVER_CONNECTION=//dvlna002:10001/SmartServer File2 export SERVER_CONNECTION=///SmartServer File3 export... (1 Reply)
Discussion started by: Nsharma3006
1 Replies

9. UNIX for Beginners Questions & Answers

Replace a column in tab delimited file with column in other tab delimited file,based on match

Hello Everyone.. I want to replace the retail col from FileI with cstp1 col from FileP if the strpno matches in both files FileP.txt ... (2 Replies)
Discussion started by: YogeshG
2 Replies
PLOT(1) 						      General Commands Manual							   PLOT(1)

NAME
plot - graphics filter SYNOPSIS
plot [ file ... ] DESCRIPTION
Plot interprets plotting instructions (see plot(6)) from the files or standard input, drawing the results in a newly created 81/2(1) win- dow. Plot persists until a newline is typed in the window. Various options may be interspersed with the file arguments; they take effect at the given point in processing. Options are: -d Double buffer: accumulate the plot off-screen and write to the screen all at once when an erase command is encountered or at end of file. -e Erase the screen. -c col Set the foreground color (see plot(6) for color names). -f fill Set the background color. -g grade Set the quality factor for arcs. Higher grades give better quality. -p col Set the pen color. -w Pause until a newline is typed on standard input. -C Close the current plot. -W x0,y0,x1,y1 Specify the bounding rectangle of plot's window. By default it uses a 512x512 window in the middle of the screen. SOURCE
/sys/src/cmd/plot SEE ALSO
81/2(1), plot(6) PLOT(1)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy