Sponsored Content
Top Forums Shell Programming and Scripting URGENT HELP NEEDED ON -File size reading Post 302212181 by Annihilannic on Sunday 6th of July 2008 09:31:44 PM
Old 07-06-2008
What exact versions of perl are you using (perl --version)? Have you tried using the same version on the other server?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

urgent help needed.

Ok I admit it I am stumped and I would appreciate any and all help Here is what I am trying to do. Korn Shell script I am setting a variable to another shell script that I want to invoke in my main script like so: GETDIR=/vol100/cfg/.getdir The .getdir shell script take a parameter,... (4 Replies)
Discussion started by: Batch
4 Replies

2. Shell Programming and Scripting

Need urgent help for reading file

Hi, I am new to shell scripting. I have one .txt file whose name is status.txt Now i want to read the contents of this file in a variable. status.txt file contains the following input 1.xml 2.ps 3.pdf now i want to read this status.txt file. Can anybody please help me to write a... (2 Replies)
Discussion started by: sunitachoudhury
2 Replies

3. UNIX for Dummies Questions & Answers

Urgent help needed to delete some text without opening the file in unix

Hi To delete some text in 2 files in line1 ( not complete line) in unix without opening the files. For example: source file is like this <?xml version="1.0"... (5 Replies)
Discussion started by: pyaranoid
5 Replies

4. UNIX for Advanced & Expert Users

Urgent help needed!!!

-------------------------------------------------------------------------------- hy guys, i got few interview questions i need someone to answer urgently: 1)If you cant get to the root, you try to fsck it, but gets errors to read file systems. What steps do you take to recover the host... (1 Reply)
Discussion started by: charneet
1 Replies

5. UNIX for Dummies Questions & Answers

Copy a file based on the size-Urgent

Hi, I need unix code to check the size of a file. for example if the size of the file in A folder is more than 1BM, then i have to move that particular file in to B folder whenever I run that particular script. regards, Srinivas. (7 Replies)
Discussion started by: vysrinivas
7 Replies

6. Shell Programming and Scripting

urgent help needed regarding splitting file

how can i split a file on last record ? say i have a file A with 4 records as follows : first line second line third line last line I want to make two files B and C with contents of B as first line second line third line and the contents of C as last line (8 Replies)
Discussion started by: aliyesami
8 Replies

7. Shell Programming and Scripting

Urgent Help needed please

Hi, I have a small grepping problem in my script.I am having a file from which i need to make sure "#^A17" is the last updation (Next # can be ignored) before ################.The idea behind this is, if this file contains "A17" as the last updation, i need to do a particular activity. please... (7 Replies)
Discussion started by: Renjesh
7 Replies

8. Shell Programming and Scripting

Help needed reading the file

I am reading a pipe delimted file having the 4 columns. The file content looks like APT|string|Application ID For App|value for env in `cat $ConfigFile` do name=`echo $env | cut -d '|' -f1` type=`echo $env | cut -d '|' -f2 prompt=`echo $env | cut -d '|' -f3` ... (5 Replies)
Discussion started by: chandu123
5 Replies

9. Programming

Copying a file and reading size I get always zero.

I need to copy a file (srcFile) to a new ubication (destFile). Then I calculate the size of the copy file using stat. The problem is that I always get a cero size value although the file has not cero size in the hard disk. The source code that does this is : PROGRAM 1: char srcFile;... (4 Replies)
Discussion started by: clxspain
4 Replies

10. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
PERLFREEBSD(1)						 Perl Programmers Reference Guide					    PERLFREEBSD(1)

NAME
perlfreebsd - Perl version 5 on FreeBSD systems DESCRIPTION
This document describes various features of FreeBSD that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs. FreeBSD core dumps from readdir_r with ithreads When perl is configured to use ithreads, it will use re-entrant library calls in preference to non-re-entrant versions. There is a bug in FreeBSD's "readdir_r" function in versions 4.5 and earlier that can cause a SEGV when reading large directories. A patch for FreeBSD libc is available (see http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/30631 ) which has been integrated into FreeBSD 4.6. $^X doesn't always contain a full path in FreeBSD perl sets $^X where possible to a full path by asking the operating system. On FreeBSD the full path of the perl interpreter is found by using "sysctl" with "KERN_PROC_PATHNAME" if that is supported, else by reading the symlink /proc/curproc/file. FreeBSD 7 and earlier has a bug where either approach sometimes returns an incorrect value (see http://www.freebsd.org/cgi/query-pr.cgi?pr=35703 ). In these cases perl will fall back to the old behaviour of using C's argv[0] value for $^X. AUTHOR
Nicholas Clark <nick@ccl4.org>, collating wisdom supplied by Slaven Rezic and Tim Bunce. Please report any errors, updates, or suggestions to perlbug@perl.org. perl v5.18.2 2013-11-04 PERLFREEBSD(1)
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy