Hey everyone,
i just want to backup data with tar. I know it works with:
tar cvf. To show which data i have saved i can use tar tvf. But how can i do it simoultanous, that unix not first has to save my data to disk and after that read the data again to show me the list of my saved data?
Please... (2 Replies)
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
If my text file as follow:
group size time file
other 58585739 2008 test1.csv
other 122 2008 testcsv.sh
other 164 19:28 testexplain.sh
other 29132428 2008 testq.csv
other 104 21:02 testshell.sh
other 792 21:39 xxx.txt
I need to show file to new format as follow:
group ... (5 Replies)
Hi all
If my text file as follow:
group size time file
other 58585739 2008 test1.csv
other 122 2008 testcsv.sh
other 164 19:28 testexplain.sh
other 29132428 2008 testq.csv
other 104 21:02 testshell.sh
other 792 21:39 xxx.txt
I need to show file to new format as follow:
group... (1 Reply)
HI i am writing a shell script to generate some files having data in some format.
for this i am using
awk -F":" '{printf("%-20s:%-20s:%-20s:%-20s:%-15s:%-3s:%-19s:%-2s:%-20s:%-15s:%-2s\n", $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11)}' $DIALPBIN/temp1.txt > ${DIALPBIN}/temp2.txt
this helps in... (1 Reply)
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
good evening,
i'm still new in scripting but i'm learning every day and i'm enjoying it.
so i have api website (htt p://api.nobelprize.org/v1/prize.json), i want to make a script that allows me to give it two arguments like ./test.sh 2005 physics, 2000 is for the year and physics is category... (1 Reply)
Discussion started by: kalbsghir
1 Replies
LEARN ABOUT DEBIAN
test::bdd::cucumber::manual::integration
Test::BDD::Cucumber::Manual::Integration(3pm) User Contributed Perl Documentation Test::BDD::Cucumber::Manual::Integration(3pm)NAME
Test::BDD::Cucumber::Manual::Integration - Integrating with Test::Builder
VERSION
version 0.11
DESCRIPTION
How to use Test::BDD::Cucumber in your test suite
OVERVIEW
You may well want your Cucumber tests to be executed as part of your standard test-suite. Luckily, this is SUPER easy.
WELL-COMMENTED EXAMPLE
#!perl
use strict;
use warnings;
use FindBin::libs;
# This will find step definitions and feature files in the directory you point
# it at below
use Test::BDD::Cucumber::Loader;
# This harness prints out nice TAP
use Test::BDD::Cucumber::Harness::TestBuilder;
# Load a directory with Cucumber files in it. It will recursively execute any
# file matching .*_steps.pl as a Step file, and .*.feature as a feature file.
# The features are returned in @features, and the executor is created with the
# step definitions loaded.
my ( $executor, @features ) = Test::BDD::Cucumber::Loader->load(
't/cucumber_core_features/' );
# Create a Harness to execute against. TestBuilder harness prints TAP
my $harness = Test::BDD::Cucumber::Harness::TestBuilder->new({});
# For each feature found, execute it, using the Harness to print results
$executor->execute( $_, $harness ) for @features;
done_testing;
perl v5.14.2 2012-05-20 Test::BDD::Cucumber::Manual::Integration(3pm)