10-09-2008
Document
Plz can somebody give me the shell and perl scripting documents,i need to start the scrpts learning.now i know about the linux commands,but need help in putting the same in the scripting with do,if,while and also using diffrent commands in the scrpipts,pls help..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi.. Does anybody knows how can I split a file in N documents?? I have a document of more than 80,000 lines (it is generated in a dynamic way, sometimes has 80,000 others 30,000 , or 1000,000) Im trying tyo break this file in only 1 lines of commands but I want to break it in a N differents files... (2 Replies)
Discussion started by: gtapia
2 Replies
2. Shell Programming and Scripting
I do not know how valid this post is, but here it is.
I was writing a script for testing some development code that I had written. It involved many echo statements to redirect the output into a log file.
Given the large number of echo statements, I took to this solution
cat <<EOF >>... (2 Replies)
Discussion started by: vino
2 Replies
3. UNIX for Dummies Questions & Answers
I understand that a Here Document will redirect all of the lines between the beginning marker for the here document and the ending marker into the command specified just as if the text were coming from standard input.
I am trying to understand the Here Document with this example:
# Menu file... (3 Replies)
Discussion started by: ericelysia
3 Replies
4. Shell Programming and Scripting
Hello,
I want to know the use of the here document with the << operator.
Tried to go through some books but the concept was not clear.
Please can any1 expalin me this with a simple example.
Thanks,
Rahul. (6 Replies)
Discussion started by: rahulrathod
6 Replies
5. Shell Programming and Scripting
I tried doing
ftp myhost <<HERE
username
password
quit
HERE
but it doesnt work. Why?
When I do ftp host, I always get prompted for username, and once I type that in I get prompted for password. But when I try doing it from here document it freezes. (2 Replies)
Discussion started by: JamesByars
2 Replies
6. Shell Programming and Scripting
Hi :)
how can I use here doc to use ssh?
I am facing a problem with the below script:
#!/bin/bash
ssh hosein@localhost << *
123456
*
"123456" is my password
Thanks (2 Replies)
Discussion started by: htabesh
2 Replies
7. Shell Programming and Scripting
Here is my problem: can we set the variables in the HERE DOCUMENT? I have tried but failed. Any one has good comments please let me know.
#!/bin/csh -f
pbrun -u xmgbrk runshell <<!
@ $num1 = `wc -l /home/tpltp/csh/scripts/who.csh`
echo "$num1"
if ( $num1 > 0 ) then
echo $num1 | tee -a... (1 Reply)
Discussion started by: tpltp
1 Replies
8. Shell Programming and Scripting
Can we use a here document inside a here document?
Something like this
ssh user@remotehost << REMOTE
sudo vserver vsernamename enter << VSERVER
perform actions on vserver.
VSERVER
REMOTE (6 Replies)
Discussion started by: mnanavati
6 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
<HTML><HEAD><TITLE>Personal Web Page</TITLE></HEAD>
<BODY BGCOLOR="WHITE"><H3>
<CENTER>My Personal Page<HR>... (0 Replies)
Discussion started by: Larry_1
0 Replies
10. Shell Programming and Scripting
I have code like
var="1"
echo << EOF
export `var="2"`
EOF
echo $var
The value of var is printed here is 1 but it should be 2
Any error there?
---------- Post updated at 11:44 AM ---------- Previous update was at 10:33 AM ----------
Also tried
var="1"
echo var << EOF
echo... (1 Reply)
Discussion started by: adisky123
1 Replies
VEUSZ(1) Veusz VEUSZ(1)
NAME
Veusz - a scientific plotting and graphing application.
SYNOPSIS
veusz [options] [document.vsz]...
DESCRIPTION
Veusz is a scientific plotting and graphing package. It is designed to create publication-ready output in a variety of different output
formats. Graphs are built-up combining plotting widgets. Veusz has a GUI user interface (started with the "veusz" command), a Python module
interface and a scripting interface.
If started without command line arguments, Veusz will open up with a new empty document. The program will otherwise open the listed
documents.
OPTIONS
--unsafe-mode
Do not check opened scripts for the presence of unsafe Python commands. This allows you to create or open complete Python scripts
with Veusz commands if they come from a trusted source.
--listen
Read Veusz commands from stdin, executing them, then writing the results to stdout. This option is intended to replace the
veusz_listen standalone program.
In this mode Veusz does not read any input documents, but will use the first argument to the program as the window title, if given.
--quiet If in listening mode, do not open a window before running commands, but execute them quietly.
--export=FILE
Export the next Veusz document file on the command line to the graphics file FILE. Supported file types include EPS, PDF, SVG, PNG,
BMP, JPG and XPM. The extension of the output file is used to determine the output file format. There should be as many export
options specified as input Veusz documents on the command line.
--plugin=FILE
Loads the Veusz plugin FILE when starting Veusz. This option provides a per-session alternative to adding the plugin in the
preferences dialog box.
--help Displays the options to the program and exits.
--version
Displays information about the currently installed version and exits.
BUGS
Please report bugs at https://gna.org/bugs/?group=veusz
AUTHORS
Veusz was written by Jeremy Sanders <jeremy@jeremysanders.net>.
This manual page was written by Jeremy Sanders <jeremy@jeremysanders.net>.
COPYRIGHT
Copyright (C) 2003-2012 Jeremy Sanders <jeremy@jeremysanders.net>.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
1.15 2012-03-28 VEUSZ(1)