10-27-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I'd like to view ps and pds file under Unix(Xwindow)
who could tell me the which software/command can work?
Thanks!
Vicky (2 Replies)
Discussion started by: vicky20000
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Please give me one example session to create a tar file in unix
Shruti (5 Replies)
Discussion started by: shruti_mgp
5 Replies
3. UNIX for Advanced & Expert Users
Hi,
On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files.
a) /usr/users/oracle/bin
b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
What is the command to add files to an existing tar file.
Thanks, (5 Replies)
Discussion started by: Nomaad
5 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
6. Shell Programming and Scripting
HI,
I want to get few line from the file which is in .gz file. .gz file contains many txt files and I want to search a string in all these txt files and need to get the previous 3 line as output including current line(where search string present).
I tried the zgrep and got the line number,... (5 Replies)
Discussion started by: sateesh512
5 Replies
7. Shell Programming and Scripting
Hi to all,
1- I'm trying to open a certain file in unix with the tool KEA!
2- i get to the correct folder with the CD command
3- Once in the correct directory i try the following unix command:
vi NameOfFile.Z
4- Yes those files finish with a .Z
5 - I get something in the KEA!... (3 Replies)
Discussion started by: Sanchoniathon
3 Replies
8. UNIX for Dummies Questions & Answers
I want to create a tar file that backup all my recent work. I have no idea how Tar file works and I am new to Unix Please help (1 Reply)
Discussion started by: GGBEASTBOI
1 Replies
9. UNIX for Dummies Questions & Answers
Hello Team,
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
10 Replies
10. Solaris
I've a tape contains a corrupt tar file. I'm using Unix SunOS 5.5.1. So when I run this command : dd if=/dev/rmt/0 of=/tmp/outputfile.tar
I get this error message :
warning /pci@1f, 0/pci@1/pci@1/sunw, isptwo@4/st@4,0 (sty): Error for command : read Error Level: Fatal Requested... (2 Replies)
Discussion started by: akaderb
2 Replies
LEARN ABOUT DEBIAN
graphviz::parse::recdescent
GraphViz::Parse::RecDescent(3pm) User Contributed Perl Documentation GraphViz::Parse::RecDescent(3pm)
NAME
GraphViz::Parse::RecDescent - Visualise grammars
SYNOPSIS
use GraphViz::Parse::RecDescent;
# Either pass in the grammar
my $graph = GraphViz::Parse::RecDescent->new($grammar);
print $g->as_png;
# or a Parse::RecDescent parser object
my $graph = GraphViz::Parse::RecDescent->new($parser);
print $g->as_ps;
DESCRIPTION
This module makes it easy to visualise Parse::RecDescent grammars. Writing Parse::RecDescent grammars is tricky at the best of times, and
grammars almost always evolve in ways unforseen at the start. This module aims to visualise a grammar as a graph in order to make the
structure clear and aid in understanding the grammar.
Rules are represented as nodes, which have their name on the left of the node and their productions on the right of the node. The subrules
present in the productions are represented by edges to the subrule nodes.
Thus, every node (rule) should be connected to the graph - otherwise a rule is not part of the grammar.
This uses the GraphViz module to draw the graph. Thanks to Damian Conway for the idea.
Note that the Parse::RecDescent module should be installed.
METHODS
new
This is the constructor. It takes one mandatory argument, which can either be the grammar text or a Parse::RecDescent parser object of the
grammar to be visualised. A GraphViz object is returned.
# Either pass in the grammar
my $graph = GraphViz::Parse::RecDescent->new($grammar);
# or a Parse::RecDescent parser object
my $graph = GraphViz::Parse::RecDescent->new($parser);
as_*
The grammar can be visualised in a number of different graphical formats. Methods include as_ps, as_hpgl, as_pcl, as_mif, as_pic, as_gd,
as_gd2, as_gif, as_jpeg, as_png, as_wbmp, as_ismap, as_imap, as_vrml, as_vtx, as_mp, as_fig, as_svg. See the GraphViz documentation for
more information. The two most common methods are:
# Print out a PNG-format file
print $g->as_png;
# Print out a PostScript-format file
print $g->as_ps;
BUGS
Translating the grammar to a graph is accomplished by peeking inside the internals of a parser object, which is a tad scary. A new version
of Parse::RecDescent with different internals may break this module.
At the moment, almost all Parse::RecDescent directives are supported. If you find one that has been missed - let me know!
Unfortunately, alternations (such as the following) do not produce very pretty graphs, due to the fact that they are implicit (unamed)
rules and are implemented by new long-named subrules.
character: 'the' ( good | bad | ugly ) /dude/
Hopefully Parse::FastDescent will make this all much easier.
AUTHOR
Leon Brocard <acme@astray.com>
COPYRIGHT
Copyright (C) 2001, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.14.2 2012-04-02 GraphViz::Parse::RecDescent(3pm)