Hello!
Please, help me to write such script.
I have some text file with name filename.txt
I must check if this file contains string "test-string-first", I must cut from this file string which follows string "keyword-string:" and till first white-space and save it to some variable.
For... (3 Replies)
Hi,
So I'm kinda new to shell scripts and the like. I've picked up quite a bit of use from browsing the forums here but ran into a new one that I can't seem to find an answer for.
I'm looking to parse/find a string AND the next 15 or so charachters that follow the string within a text file... (1 Reply)
I have a text file where I need to find the string = ST*850*
This string is repetaed several times in the file, so I need to know how many times it appears in the file, this is the text files:
ISA*00* *00* *08*925485USNR *ZZ*IMSALADDERSP... (13 Replies)
Hi ,
I have a simple text file with contents as below:
12345678900 971,76 4234560890
22345678900 5971,72 5234560990
32345678900 71,12 6234560190
the new csv-file should be like:
Column1;Column2;Column3;Column4;Column5
123456;78900;971,76;423456;0890... (9 Replies)
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Dear All
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB... (5 Replies)
I have two files
1. input.txt
2. keyword.txt
input.txt has contents like
.src_ref 0 "call.s" 24 first
0x000000 0x5a80 0x0060 BRA.l 0x60
.src_ref 0 "call.s" 30 first
0x000002 0x1bc5 RETI
.src_ref 0 "call.s" 31 first
0x000003 0x6840 ... (2 Replies)
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Dear all,
I want to find all the "," in my text file and then replace the commas to a tab. I found a script online but I don't know how to modify the script for my case. Any one can help? Thank you.
@echo off &setlocal
set "search=%1"
set "replace=%2"
set "textfile=Input.txt"
set... (2 Replies)
Discussion started by: forevertl
2 Replies
LEARN ABOUT DEBIAN
text::password::pronounceable
Text::Password::Pronounceable(3pm) User Contributed Perl Documentation Text::Password::Pronounceable(3pm)NAME
Text::Password::Pronounceable - Generate pronounceable passwords
SYNOPSIS
# Generate a pronounceable password that is between 6 and 10 characters.
Text::Password::Pronounceable->generate(6, 10);
# Ditto
my $pp = Text::Password::Pronounceable->new(6, 10);
$pp->generate;
DESCRIPTION
This module generates pronuceable passwords, based the the English digraphs by D Edwards.
METHODS
new
$pp = Text::Password::Pronounceable->new($min, $max);
$pp = Text::Password::Pronounceable->new($len);
Construct a password factory with length limits of $min and $max. Or create a password factory with fixed length if only one argument
is provided.
generate
$pp->generate;
$pp->generate($len);
$pp->generate($min, $max);
Text::Password::Pronounceable->generate($len);
Text::Password::Pronounceable->generate($min, $max);
Generate password. If used as an instance method, arguments override the factory settings.
HISTORY
This code derived from mpw.pl, a bit of code with a sordid history.
o CPAN module by Chia-liang Kao 9/11/2006.
o Perl cleaned up a bit by Jesse Vincent 1/14/2001.
o Converted to perl from C by Marc Horowitz, 1/20/2000.
o Converted to C from Multics PL/I by Bill Sommerfeld, 4/21/86.
o Original PL/I version provided by Jerry Saltzer.
LICENSE
Copyright 2006 by Best Practical Solutions, LLC.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.10.1 2010-08-16 Text::Password::Pronounceable(3pm)