Hi,
Could anyone help me in changing a tabular format output to comma seperated file pls in K-sh. Its very urgent.
E.g : username empid
------------------------
sri 123
to
username,empid
sri,123
Thanks,
Hema:confused: (2 Replies)
Hi All,
I have the following file that has computer data for various pcs in my network...
Snap of the file is as follows
*******************************************************************************
Serial
123456
Computer IP Address
lo0:... (1 Reply)
cat file1.txt
field1 "user1":
field2:"data-cde"
field3:"data-pqr"
field4:"data-mno"
field1 "user1":
field2:"data-dcb"
field3:"data-mxz"
field4:"data-zul"
field1 "user2":
field2:"data-cqz"
field3:"data-xoq"
field4:"data-pos"
Now i need to have the date like below.
i have just... (7 Replies)
Hello experts,
Please help me in achieving this in an easier way possible. I have 2 csv files with following data:
File1
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:36:09,JOB_5340
08/23/2012 12:36:14,JOB_5340
08/23/2012 12:36:22,JOB_5350
08/23/2012... (5 Replies)
I have a file containing numbers in a column like:
10.5
16.3
15.7
2.3
46.8
3.3
.
.
.
and I was wondering if there was a way to make it show up in an array form like:
10.5 2.3
16.3 46.8
15.7 3.3
Let's say I want to make a new column every 100 values. How can I do... (8 Replies)
Greetings!
I need a quick way to change the format in a table of data
Here is an example of the input:
10 72 Value=177 VDB=0.0245 Value4=0,0,171,0
10 274 Value=238 VDB=0.0433 Value4=29,0,205,0
10 312 Value=222 VDB=0.0384 Value4=8,0,190,19
10 540 Value=405 VDB=0.0391 Value4=13,30,153,195... (3 Replies)
Hello,
I have this file outputData:
# cat /tmp/outputData
__Capacity^6^NBSC01_Licences^L3_functionality_for_ESB_switch
__Capacity^2100^NBSC01_Licences^Gb_over_IP
__Capacity^1837^NBSC01_Licences^EDGE_BSS_Fnc
__Capacity^1816^NBSC01_Licences^GPRS_CS3_and_CS4... (1 Reply)
Discussion started by: nypreH
1 Replies
LEARN ABOUT OSX
app::prove::state
App::Prove::State(3pm) Perl Programmers Reference Guide App::Prove::State(3pm)NAME
App::Prove::State - State storage for the "prove" command.
VERSION
Version 3.23
DESCRIPTION
The "prove" command supports a "--state" option that instructs it to store persistent state across runs. This module implements that state
and the operations that may be performed on it.
SYNOPSIS
# Re-run failed tests
$ prove --state=fail,save -rbv
METHODS
Class Methods
"new"
Accepts a hashref with the following key/value pairs:
o "store"
The filename of the data store holding the data that App::Prove::State reads.
o "extensions" (optional)
The test name extensions. Defaults to ".t".
o "result_class" (optional)
The name of the "result_class". Defaults to "App::Prove::State::Result".
"result_class"
Getter/setter for the name of the class used for tracking test results. This class should either subclass from "App::Prove::State::Result"
or provide an identical interface.
"extensions"
Get or set the list of extensions that files must have in order to be considered tests. Defaults to ['.t'].
"results"
Get the results of the last test run. Returns a "result_class()" instance.
"commit"
Save the test results. Should be called after all tests have run.
Instance Methods
"apply_switch"
$self->apply_switch('failed,save');
Apply a list of switch options to the state, updating the internal object state as a result. Nothing is returned.
Diagnostics:
- "Illegal state option: %s"
"last"
Run in the same order as last time
"failed"
Run only the failed tests from last time
"passed"
Run only the passed tests from last time
"all"
Run all tests in normal order
"hot"
Run the tests that most recently failed first
"todo"
Run the tests ordered by number of todos.
"slow"
Run the tests in slowest to fastest order.
"fast"
Run test tests in fastest to slowest order.
"new"
Run the tests in newest to oldest order.
"old"
Run the tests in oldest to newest order.
"save"
Save the state on exit.
"get_tests"
Given a list of args get the names of tests that should run
"observe_test"
Store the results of a test.
"save"
Write the state to a file.
"load"
Load the state from a file
perl v5.16.2 2012-10-25 App::Prove::State(3pm)