Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
hello,
I have a file that has lines with different lengts. I want this file to be filled up with a zero so that al the lines have the same length.
Please advice?
File 1:
-----------
2310
2009
830
1345
Result
File 2:
----------
2310
2009
0830 (3 Replies)
Hi, all.
I need to convert a file tab delimited/variable length file in AIX to a fixed lenght file delimited by spaces. This is the input file:
10200002<tab>US$ COM<tab>16/12/2008<tab>2,3775<tab>2,3783
19300978<tab>EURO<tab>16/12/2008<tab>3,28523<tab>3,28657
And this is the expected... (2 Replies)
Need a script that manipulates a fixed length file that will compare 2 fields in that file and if they are equal write that line to a new file.
i.e. If fields 87-93 = fields 119-125, then write the entire line to a new file. Do this for every line in the file. After we get only the fields... (1 Reply)
Very, very new to unix scripting and have a unique situation. I have a file of records that contain 3 records types:
(H)eader Records
(D)etail Records
(T)railer Records
The Detail records are 82 bytes in length which is perfect. The Header and Trailer records sometimes are 82 bytes in... (3 Replies)
Hi,
Can anyone help with a effective solution ?
I need to change a variable length text field (between 1 - 18 characters) to a fixed length text of 18 characters with the unused portion, at the end, filled with spaces.
The text field is actually field 10 of a .csv file however I could cut... (7 Replies)
Hi Team,
I have an issue to split the file which is having special chracter(German Char) using awk command.
I have a different length records in a file. I am separating the files based on the length using awk command.
The command is working fine if the record is not having any... (7 Replies)
Hi ,
I am having a scenario where I need to split the file based on two field values. The file is a fixed length file.
ex:
AA0998703000000000000190510095350019500010005101980301
K 0998703000000000000190510095351019500020005101480 ... (4 Replies)
Discussion started by: saj
4 Replies
LEARN ABOUT DEBIAN
heckle
HECKLE(1) User Commands HECKLE(1)NAME
heckle - mutate Ruby code and run test
SYNOPSIS
heckle class_name [method_name]
DESCRIPTION
`heckle' is a mutation tester. It modifies your code and runs your tests to make sure they fail. The idea is that if code can be changed
and your tests don't notice, either that code isn't being covered or it doesn't do anything.
-v, --verbose
Loudly explain heckle run
-V, --version
Prints Heckle's version number
-t, --tests TEST_PATTERN
Location of tests (glob)
-F, --force
Ignore initial test failures
Best used with --focus
--assignments
Only mutate assignments
-b, --branches
Only mutate branches
-f, --focus
Apply the eye of sauron
-T, --timeout SECONDS
The maximum time for a test run in seconds
Used to catch infinite loops
-n, --nodes NODES
Nodes to mutate
Possible values: call, cvasgn ,dasgn, dasgn_curr, false, gasgn, iasgn, if, iter, lasgn, lit, str, true, until, while
-x, --exclude-nodes NODES
Nodes to exclude
-h, --help
Show this message
heckle 1.4.3 June 2012 HECKLE(1)