01-30-2009
how to have ENTER after each symbol.
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
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
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
5. Solaris
deleteing post (0 Replies)
Discussion started by: dshakey
0 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
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... (12 Replies)
Discussion started by: hbar
12 Replies
8. Emergency UNIX and Linux Support
Hi folks,
I am on a very critical situation. I have a sun Solaris 10 MC with oracle 10G installed on it.
When i try to mount the DB, I can mount it, But when I try to access it, the DB is inaccessible.
SQL> select status from v$instance;
STATUS
------------
MOUNTED
SQL> shutdown... (6 Replies)
Discussion started by: vivek.goel.piet
6 Replies
9. 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
LEARN ABOUT MOJAVE
digest::crc
Digest::CRC(3) User Contributed Perl Documentation Digest::CRC(3)
NAME
Digest::CRC - Generic CRC functions
SYNOPSIS
# Functional style
use Digest::CRC qw(crc64 crc32 crc16 crcccitt crc crc8 crcopenpgparmor);
$crc = crc64("123456789");
$crc = crc32("123456789");
$crc = crc16("123456789");
$crc = crcccitt("123456789");
$crc = crc8("123456789");
$crc = crcopenpgparmor("123456789");
$crc = crc($input,$width,$init,$xorout,$refout,$poly,$refin,$cont);
# add data to existing
$crc = crc32("ABCD", $crc);
# OO style
use Digest::CRC;
$ctx = Digest::CRC->new(type=>"crc16");
$ctx = Digest::CRC->new(width=>16, init=>0x2345, xorout=>0x0000,
refout=>1, poly=>0x8005, refin=>1, cont=>1);
$ctx->add($data);
$ctx->addfile(*FILE);
$digest = $ctx->digest;
$digest = $ctx->hexdigest;
$digest = $ctx->b64digest;
DESCRIPTION
The Digest::CRC module calculates CRC sums of all sorts. It contains wrapper functions with the correct parameters for CRC-CCITT, CRC-16,
CRC-32 and CRC-64, as well as the CRC used in OpenPGP's ASCII-armored checksum.
SEE ALSO
https://tools.ietf.org/html/rfc4880#section-6
AUTHOR
Oliver Maul, oli@42.nu
COPYRIGHT
CRC algorithm code taken from "A PAINLESS GUIDE TO CRC ERROR DETECTION
ALGORITHMS".
The author of this package disclaims all copyrights and releases it into the public domain.
perl v5.18.2 2017-10-06 Digest::CRC(3)