Not sure but the Input_file which you have shown doesn't have any line whose length is more than 1330, so if you are using same Input_file I don't think so it will show any output. You could confirm by doing following too.
In case no line is having more than 1330 length then you could change the length into above code.
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
Hi,
I have a situation where I need to remove the carriage return between the lines.
For.eg.
The input file:
1,ad,"adc
sdfd",edf
2,asd,"def
fde",asd
The output file should be
1,ad,adc sdfd,edf
2,asd,def fde,asd
Thanks
Shash (5 Replies)
Hello everyone,
I am trying to search a file for lines that start with 'ip:' and have a carriage return after(ip:$). I then want to remove the carriage return from that line and append the next line in the file to the line containing 'ip'. I tried doing this with SED, but had no luck. Any... (3 Replies)
Guys - Simple code, i am trying to get a number back from sqlplus call to a query. After that, i need to use that number in a loop.
---------------------------------
#!/bin/ksh
VALUE=`sqlplus -silent sh/password@sh <<END
set pagesize 0 feedback off verify off heading off echo off
select... (10 Replies)
Hello, I want remove ^M at end of my files line
if I use command : tr -d '\r' <inp>out it work fine
but get I the same result by manipulating the string ?
I want this because in my text file I manipulate some other part
I have input "the cat^M"
I want output "the cat"
I have made... (3 Replies)
Hi all gurus,
I need help in removing carriage return existed within a record delimited by pipe <|>.
Sample:
A_01|Test1|Testing1|Remarks1
A_02|Test2|Test
ing2|Remarks2
A_03|Test3|Testing3|
Remarks3
Desire output:
A_01|Test1|Testing1|Remarks1
A_02|Test2|Testing2|Remarks2... (10 Replies)
Hi,
I have a pipe delimited file. There are around 700 columns in the file.
The 65th column has carriage return which is causing read issue with our ETL process. I would like to replace the new line characters in 65th field with "nothing"
i have return the following code and need help to... (7 Replies)
Hi,
I try to handle very large numbers with a bash script. I run ssh command in a remote server and store the output in a local variable. But this output contains a return carriage at the end. So I try to remove it by tr But I can't figure out the right notation with printf. So my problem... (6 Replies)
I need to remove the carriage return comes inbetween the record.
Need to have CR only at the end.
I used the below command.
tr -d '\n' < filewithcarriagereturns > filewithoutcarriagereturns
But its removing all the CR and giving one line output.
Input File:
12345
abcdegh... (11 Replies)
How to remove Carriage Return (CRLF) within double quotes in a file. There are multiple CRLFs within double quotes. We are on Ubuntu 14.04.2 LTS.
The file that we are importing is a csv file from unix to windows and the file was formatted to unix2dos. Therefore all lines in the file all have... (12 Replies)
Discussion started by: covina
12 Replies
LEARN ABOUT DEBIAN
castor_limits
LCG_LIMITS(4) File Formats LCG_LIMITS(4)NAME
Castor_limits - LCG internal limits
SYNOPSIS
#include <Castor_limits.h>
DESCRIPTION
The Castor_limits.h header file contains all the common limits that all LCG subpackages have to respect.
These are:
CA_MAXACLENTRIES
maximum number of ACL entries for a file/dir
Default value: 300
CA_MAXCLASNAMELEN
maximum length for a fileclass name
Default value: 15
CA_MAXCOMMENTLEN
maximum length for user comments in metadata
Default value: 255
CA_MAXDENFIELDS
maximum number of density values in devinfo
Default value: 8
CA_MAXDENLEN
maximum length for a alphanumeric density
Default value: 8
CA_MAXDGNLEN
maximum length for a device group name
Default value: 6
CA_MAXDPMTOKENLEN
maximum length for a Disk Pool Manager token
Default value: 36
CA_MAXDVNLEN
maximum length for a device name
Default value: 63
CA_MAXDVTLEN
maximum length for a device type
Default value: 8
CA_MAXFIDLEN
maximum length for a fid (DSN)
Default value: 17
CA_MAXFSEQLEN
maximum length for a fseq string
Default value: 14
CA_MAXGID
maximum value for gid
Default value: 0x7FFFFFFF
CA_MAXGRPNAMELEN
maximum length for a group name
Default value: 2
CA_MAXGUIDLEN
maximum length for a guid
Default value: 36
CA_MAXHOSTNAMELEN
maximum length for a hostname
Default value: 63
CA_MAXLBLTYPLEN
maximum length for a label type
Default value: 3
CA_MAXLINELEN
maximum length for a line in a log
Default value: 1023
CA_MAXMANUFLEN
maximum length for a cartridge manufacturer
Default value: 12
CA_MAXMLLEN
maximum length for a cartridge media_letter
Default value: 1
CA_MAXMODELLEN
maximum length for a cartridge model
Default value: 6
CA_MAXNAMELEN
maximum length for a pathname component
Default value: 255
CA_MAXNBDRIVES
maximum number of tape drives per server
Default value: 32
CA_MAXPATHLEN
maximum length for a pathname
Default value: 1023
CA_MAXPOLICYLEN
maximum length for a policy name
Default value: 15
CA_MAXPOOLNAMELEN
maximum length for a pool name
Default value: 15
CA_MAXPROTOLEN
maximum length for a protocol name
Default value: 7
CA_MAXRBTNAMELEN
maximum length for a robot name
Default value: 17
CA_MAXRECFMLEN
maximum length for a record format
Default value: 3
CA_MAXREGEXPLEN
maximum length for a regular expression
Default value: 63
CA_MAXSFNLEN
maximum length for a replica
Default value: 1103
CA_MAXSHORTHOSTLEN
maximum length for a hostname without domain
Default value: 10
CA_MAXSNLEN
maximum length for a cartridge serial nb
Default value: 24
CA_MAXSTGRIDLEN
maximum length for a stager full request id
(must be >= nb digits in
CA_MAXSTGREQID + CA_MAXHOSTNAMELEN + 8)
Default value: 77
CA_MAXSTGREQID
maximum value for a stager request id
Default value: 999999
CA_MAXUID
maximum value for uid
Default value: 0x7FFFFFFF
CA_MAXSYMLINKS
maximum number of symbolic links
Default value: 5
CA_MAXTAGLEN
maximum length for a volume tag
Default value: 255
CA_MAXTAPELIBLEN
maximum length for a tape library name
Default value: 8
CA_MAXUNMLEN
maximum length for a drive name
Default value: 8
CA_MAXUSRNAMELEN
maximum length for a login name
Default value: 14
CA_MAXVIDLEN
maximum length for a VID
Default value: 6
CA_MAXVSNLEN
maximum length for a VSN
Default value: 6
AUTHOR
LCG Grid Deployment Team
LCG $Date: 2007/02/03 11:16:45 $ LCG_LIMITS(4)