Creating trash data?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Creating trash data?
# 8  
Old 11-11-2010
You've got a pretty bizzare configuration of BASH to not support the {1..5} syntax. Are you sure you're not using something else? Or maybe it's really, really old.
# 9  
Old 11-11-2010
GNU bash, version 2.05b.0(1)-release (i386-unknown-freebsd5.3)
Copyright (C) 2002 Free Software Foundation, Inc.
# 10  
Old 11-11-2010
Code:
touch file{0..9}{0..9}{0..9}{0..9}

Code:
GNU bash, version 4.1.7(2)-release (i386-portbld-freebsd7.3)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>


Last edited by danmero; 11-11-2010 at 02:54 PM.. Reason: Add bash version
# 11  
Old 11-11-2010
Quote:
Originally Posted by MrEddy
GNU bash, version 2.05b.0(1)-release (i386-unknown-freebsd5.3)
Copyright (C) 2002 Free Software Foundation, Inc.
That's quite old. I think the syntax Corona mentioned was introduced with Version 3.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. UNIX for Advanced & Expert Users

creating data loading script

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

8. 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
Login or Register to Ask a Question