I have
I want
here everything is variable in length except words READY:, PACK: and UNPACK:
We want to send anything appearing between word PACK: and UNPACK: to op.txt
Similarly next 20 characters of word UNPACK:
Last edited by zaxxon; 04-29-2010 at 11:58 AM..
Reason: you may guess... :)
Gurus
I am trying to capture all the data in /etc/group file in a CSV ,thru a fingerprinting engine.
For hosts having ,unique group names and Ids ,following code works fine.
Trouble starts when on a host,there are multiple groups defined with same name and id.
e.g One of my hosts has 8... (10 Replies)
Greetings.
I am a UNIX newbies.
I am currently facing difficulties dealing with a large data set and I would like to ask for helps. I have a input file like this:
ak 1 AAM1
ak 2 AAM1
ak 3 AAM1
ak 11 AMM2
ak 12 AMM2
ak 13 AMM2
ak 14 AMM2
Is there any possibility for me to... (7 Replies)
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Hi all,
I want to make an script using sed that removes everything between 'begin' (including the line that has it) and 'end1' or 'end2', not removing this line.
Let me paste an 2 examples:
anything before
any string begin
few lines of content
end1
anything after
anything before
any... (4 Replies)
Hi ,
I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (1 Reply)
Hi
I have strings like these :
Vengeance mitt
Men Vengeance gloves
Women Quatro Windstopper Etip gloves
Quatro Windstopper Etip gloves
Girls Thermobite hooded jacket
Thermobite Triclimate snow jacket
Boys Thermobite Triclimate snow jacket
and I would like to get the lower case words at... (2 Replies)
Hello,
I would like to change my setting in a file to the setting that user input.
For example, by default it is
ONBOOT=ON
When user key in "YES", it would be
ONBOOT=YES
--------------
This code only adds in the entire user input, but didn't replace it.
How do i go about... (5 Replies)
Hi there, newbie there. I've been browsing the forums hoping to find a solution that answers a problem similar to what I need, but haven't had much luck. Any help would be greatly appreciated. Thanks!
I need to delete a bunch of text between every appearance of two words in a really large file... (3 Replies)
hi,
i need to replace all words in any quote position and then need to change the words inside the file thousand of raw.
textfile data :
"Ninguno","Confirma","JuicioABC"
"JuicioCOMP","Recurso","JuicioABC"
"JuicioDELL","Nulidad","Nosino"
"Solidade","JuicioEUR","Segundo"
need... (1 Reply)
Hi All,
I need one help to replace particular words in file based on if finds another words in that file .
i.e.
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
LEARN ABOUT BSD
vmsprep
VMSPREP(LOCAL) VMSPREP(LOCAL)
NAME
vmsprep - VMS tape preperation aid
SYNOPSIS
vmsprep [-] [name ...]
DESCRIPTION
Vmsprep traverses hierarchies of files and prepares them for transportation to VMS. Since ANSI stardard tapes (the VMS standard) do not
allow hierarchy, this program provides a method of flattening the hierarchy onto a tape in such a way that it can be unpacked on VMS to
recreate the same tree structure.
For reasons best not described here, vmsprep will attempt to exclude all RCS and SCCS archives by ignoring all files or directories named
'RCS' or 'SCCS', or files starting with 's.' or ending in ',v'.
The output of vmsprep is a pair of files vmsprep.namelist and UNPACK.COM. vmsprep.namelist is a list of files to be placed on the tape in
the format required by ansitape. If the first argument is '-' instead of a file or directory name, vmsprep will instead send the namelist
to standard output, and place UNPACK.COM in /tmp to avoid attempting to write in the current directory. All of the files except UNPACK.COM
will be placed on the tape under cryptic names. UNPACK.COM is a VMS command script which will recreate all of the necessary directories
and then move the cryptically named files to their proper place.
A typical sequence would be:
vmsprep - tree1 tree2 file | ansitape cln trees -
Then on a VMS machine
mount MFA0: trees
copy MFA0:*.*.* *
@UNPACK
FILES
vmsprep.namelist
UNPACK.COM
DIAGNOSTICS
A warning is reported if a file or directory name contains a character not permitted in VMS names. The offending character is replaced by
'Z' and vmsprep continues.
SEE ALSO
ansitape(l)
BUGS
Extra periods in file names may not be dealt with optimally.
All files and directories to be moved must be descendants of the current working directory. Absolute path names and paths containing ".."
will produce unpredictable results.
Since vmsprep uses find(1) internally, it does not follow symbolic links.
The exclusion of RCS and SCCS files should be controlled by a command line flag.
Assumes VMS v4.0 or greater for long file names.
4/10/85 UCB Local VMSPREP(LOCAL)