Sponsored Content
Full Discussion: Creating trash data?
Top Forums Shell Programming and Scripting Creating trash data? Post 302470202 by MrEddy on Tuesday 9th of November 2010 12:24:14 PM
Old 11-09-2010
Contents of the files do not matter, they can be empty. I just need a bunch of files.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Creating data of size

Hello, I need to create 100kb,1000kb,10000kb etc files of no particular substance but I need them a exact size. I think they are .dat's I need but im unsure of the command I issue to create them Any help appreciated :) Mr Pink (4 Replies)
Discussion started by: Mr Pink
4 Replies

2. UNIX for Advanced & Expert Users

creating data loading script

asdfasdfasdfasdf??? (2 Replies)
Discussion started by: noorm
2 Replies

3. UNIX for Dummies Questions & Answers

creating a new variable from existing data

Hello, I have the following data set: TRAIT DOSE 40 0.4 30 0.3 95 1.2 120 1.7 85 1.4 136 1.8 134 1.8 40 0.4 30 0.3 95 1.2 120 1.7 85 1.4 136 1.8 134 1.8 40 0.4 30 0.3 95 1.2 (2 Replies)
Discussion started by: wolf_blue
2 Replies

4. Shell Programming and Scripting

Creating loops inside a file and extracting and loading data

Help needed (1 Reply)
Discussion started by: Chand Shrestha
1 Replies

5. Shell Programming and Scripting

Creating html table from data in file

Hi. I need to create html table from file which contains data. No awk please :) In example, ->cat file num1 num2 num3 23 3 5 2 3 4 (between numbers and words single TAB). after running mycode i need to get (heading is the first line): <table>... (2 Replies)
Discussion started by: Manu1234567
2 Replies

6. Shell Programming and Scripting

Creating Multiple data files with spaces in the filename

Hi, I have a list of filenames in the format with Spaces in the filename. As an example : Sample File 1.txt Sample File 2.txt Sample File 3.txt.....I have about 100 files like this. I am trying to create a block of code or use an available command to a) Create a file b) Put in some... (2 Replies)
Discussion started by: ban3rj33
2 Replies

7. Shell Programming and Scripting

Creating a matrix out of a longitudinal data set

Hi I do have a tab delimited file with 2 columns, which is stratified based on the first column. There are 1000's of values in the file. Below is an example of the input file 1 AB 1 AC 1 CC 1 DD 2 AB 2 CC 2 AC 2 AB 3 CF 3 CC 3 DD 4 AC 4 CC 4 AD (5 Replies)
Discussion started by: Kanja
5 Replies

8. UNIX for Beginners Questions & Answers

Creating data delimited by ASCII code 1

<Any suggestion how to create a file where the values are separated by ASCII code 1,with data extracted from a table using shell script The format is :/> <columnname1(binary1)columnvalue(binary1)columnname2(binary1)columnvalue(binary1)columnname3(binary1)columnvalue... 1st row/>... (6 Replies)
Discussion started by: dasun
6 Replies
Debian::AptContents(3pm)				User Contributed Perl Documentation				  Debian::AptContents(3pm)

NAME
Debian::AptContents - parse/search through apt-file's Contents files SYNOPSIS
my $c = Debian::AptContents->new( { homedir => '~/.dh-make-perl' } ); my @pkgs = $c->find_file_packages('/usr/bin/foo'); my $dep = $c->find_perl_module_package('Foo::Bar'); TODO
This needs to really work not only for Perl modules. A module specific to Perl modules is needed by dh-make-perl, but it can subclass Debian::AptContents, which needs to become more generic. CONSTRUCTOR
new Constructs new instance of the class. Expects at least "homedir" option. FIELDS
homedir (mandatory) Directory where the object stores its cache. contents_dir Directory where apt-file stores Contents files are stored. Default is /var/cache/apt/apt-file sources A path to a sources.list file or an array ref of paths to sources.list files. If not given uses AptPkg's Config to get the list. dist Used for filtering on the "distributon" part of the repository paths listed in sources.list. Default is empty, meaning no filtering. contents_files Arrayref of Contents file names. Default is to parse the files in "sources" and to look in "contents_dir" for matching files. cache_file Path to the file with cached parsed information from all Contents files. Default is Contents.cache under "homedir". cache Filled by "read_cache". Used by "find_file_packages" and (obviously) "store_cache" verbose Verbosity level. 0 means silent, the bigger the more the jabber. Default is 1. OBJECT METHODS
warning Used internally. Given a verbosity level and a message, prints the message to STDERR if the verbosity level is greater than or equal of the value of "verbose". repo_source_to_contents_paths Given a line with Deban package repository path (typically taken from sources.list), converts it to the corresponding Contents file names. get_contents_files Reads sources.list, gives the repository paths to "repo_source_to_contents_paths" and returns an arrayref of file names of Contents files. read_cache Reads the cached parsed Contents files. If there are Contents files with more recent mtime than that of the cache (or if there is no cache at all), parses all Contents and stores the cache via "store_cache" for later invocation. store_cache Writes the contents of the parsed "cache" to the "cache_file". Storable is used to stream the data. Along woth the information from Contents files, a timestamp is stored. find_file_packages Returns a list of packages where the given file was found. Contents files store the package section together with package name. That is stripped. Returns an empty list of the file is not found in any package. find_perl_module_package( $module, $version ) Given Perl module name (e.g. Foo::Bar), returns a Debian::Dependency object representing the required Debian package and version. If the module is a core one, suitable dependency on perl is returned. If the package is also available in a separate package, an alternative dependency is returned. In case the version of the currently running Perl interpreter is lower than the version in which the wanted module is available in core, the separate package is preferred. Otherwise the perl dependency is the first alternative. AUTHOR
Damyan Ivanov <dmn@debian.org> COPYRIGHT &; LICENSE Copyright (C) 2008, 2009, 2010 Damyan Ivanov <dmn@debian.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. perl v5.14.2 2012-01-15 Debian::AptContents(3pm)
All times are GMT -4. The time now is 05:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy