01-15-2011
Tab and Enter
Do Tab or Enter behave like a command in some cases? For example,
I had been trying to plot with gnuplot by usinf shell script like command inside:
cat plot.gnu gives :
plot 'datafile1' , \
'datafile2'
Now gnuplot doesn't recognize the newline command "\"
unless I use "enter" in the vi-editor.
i.e. gnuplot -persist plot.gnu doesn't work
Similarly I found that commands are not recognized in Makefile if I don't specifically use "tab" space inside the vi-editor.
(I could have made a tab-space by using 'echo' in a shell script file, but that doesn't work!)
Thank you in advance.
Last edited by DukeNuke2; 01-15-2011 at 06:12 AM..
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
xpl2gpl
XPL2GPL(1) General Commands Manual XPL2GPL(1)
NAME
xpl2gpl - Convert tcptrace-style xplot input to gnuplot input.
SYNOPSIS
xpl2gpl [-s] <file_name>
DESCRIPTION
xpl2gpl is a utility that converters tcptrace-style xplot input to gnuplot input. This converter gives a nearly perfect gnuplot reproduc-
tion of the corresponding xplot graph.
OPTIONS
-s Seperate files. If you wish to plot only some data from the xpl file, you may use the -s option, which generates a bunch of data-
files filtered based on the color and plotting style.
EXAMPLES
xpl2gpl foo.xpl
This would produce files by the names "foo.gpl", "foo.datasets" and "foo.labels". Load the file "file_name.gpl" in gnuplot and it should
give you the plot.
NOTES
xpl2gpl is provided for convenience, as gnuplot is more commonly installed than the xplot package that tcptrace typically expects, and
because xplot has not always been available in Debian. If possible, you should consider installing the xplot-xplot.org package and using it
instead of using xpl2gpl.
AUTHOR
Avinash Lakhiani (no known email address)
This manual page was written by Noah Meyerhans <noahm@debian.org> for the Debian project and may be used freely and without restriction by
others.
SEE ALSO
tcptrace(1)
Aug 8, 2009 XPL2GPL(1)