Hi Guru's,
I need to create 3 files with the contents "ABC" using single command.
Iam using:
echo "ABC" > file1.txt file2.txt file3.txt
the above command is not working. pls help me...
With Regards / Ganapati (4 Replies)
HI guys,
I have created a script to read 1 column in a csv file and then place it in text file.
However, when i checked out the text file, it is not in a column format...
Example:
CSV file contains
name,age
aa,11
bb,22
cc,33
After using awk to get first column
TXT file... (1 Reply)
Dear experts,
In a directory i have both *.TXT and *.txt files. I have a script-
for file in `ls *.txt`; do
mv $file /tmp/$file
How to list both *.txt and*.TXT file in one command so that script will move both .txt or .TXT whatever it find.
br//purple (4 Replies)
HI All,
I am coding a shell script which will pick all the .csv files in a particular directoryand write it in to a .txt file, this .txt file i will use as a source in datastage for processing.
now after the processing is done I have to move and archive all the files in the .txt file to a... (5 Replies)
This is appending a column.
My question is fairly simple. I have a program generating data in a form like so:
1 20
2 22
3 23
4 12
5 43
For ever iteration I'm generating this data. I have the basic idea with cut -f 2 fileA.txt | paste -d >> FileB.txt ???? I want FileB.txt to grow, and... (4 Replies)
Hi,
I need to compare two text files with awk.
File1:
-------
chr1 43815007 43815009 COSM19193 REF=TG;OBS=AA;ANCHOR=G AMPL495041
chr1 43815008 43815009 COSM18918 REF=G;OBS=T;ANCHOR=T AMPL495041
chr1 115256527 115256528 ... (6 Replies)
Dear Shell scripters,
I have a small code which copy the txt files from some destination to file name OutPutFile.
I want to modify this script to introduce several constant.
The string it is reading is like
... (2 Replies)
Dear all,
I have a huge txt file (DATA.txt) with the following content . From this txt file, I want the following output using some shell script.
Any help is greatly appreciated.
Greetings,
emily
DATA.txt (snippet of the huge text file)
407202849... (2 Replies)
Hi dears
i have text file like this:
INPUT.txt
001_1_173 j nuh ]az
001_1_174 j ]esma. nuh ]/.xori
.
.
. and have another text
like this
TABLE.txt
j j
nuh word1... (6 Replies)
Discussion started by: alii
6 Replies
LEARN ABOUT DEBIAN
net::dpap::client
Net::DPAP::Client(3pm) User Contributed Perl Documentation Net::DPAP::Client(3pm)NAME
Net::DPAP::Client - Connect to iPhoto shares (DPAP)
SYNOPSIS
use Net::DPAP::Client;
my $client = Net::DPAP::Client->new;
$client->hostname($hostname);
my @albums = $client->connect;
foreach my $album (@albums) {
print $album->name, "
";
foreach my $image (@{$album->images}) {
print " ", $image->name, "
";
my $thumbnail = $image->thumbnail;
my $hires = $image->hires;
}
}
DESCRIPTION
This module provides a DPAP client. DPAP is the Digital Photo Access Protocol and is the protocol that Apple iPhoto uses to share photos.
This allows you to browse shared albums, and download thumbnail and hires versions of shared photos.
It currently doesn't support password-protected shares.
METHODS
new
The constructor:
my $client = Net::DPAP::Client->new;
$client->hostname($hostname);
connect
Connect to the hostname:
my @albums = $client->connect;
SEE ALSO
Net::DPAP::Client::Album, Net::DPAP::Client::Image.
AUTHOR
Leon Brocard <acme@astray.com>
COPYRIGHT
Copyright (C) 2004-6, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.10.1 2010-06-07 Net::DPAP::Client(3pm)