Sponsored Content
Top Forums Shell Programming and Scripting Can someone please help me? (Another example of how not to post homework.) Post 302390782 by danmero on Friday 29th of January 2010 02:38:39 AM
Old 01-29-2010
Quote:
Originally Posted by andrew1400
I want to write a bash program ........ what should I use(I just know I should use the pipe):
Look like a homework to me (see Forum Rules) if not:
Code:
for i in *.txt;do echo -${i};done

You don't need cut, grep, sed and pipes.
 

4 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Can someone please help me? (An example of how not to post homework.)

Hi, when I run ls -l I get the following command (I already know ls) : Code: rwxrwxrwx 2 andrew andrew 4096 2010-01-25 22:00 test.txt rwxrwxrwx 2 andrew andrew 4096 2010-01-25 21:01 test1.txt rwxrwxrwx 3 andrew andrew 4096 2010-01-25 20:45 test2.txt rwxrwxrwx 1 andrew andrew 4096... (1 Reply)
Discussion started by: andrew1400
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Help with deleting post, apologies about the earlier post.

Apologies about the earlier post, i didnt realise, could i delete that post? I apologise again, SynGc (1 Reply)
Discussion started by: SynGc
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Do I post to Homework forum if learning on own

Quick question, I'm learning shell scripting on my own from resources like the 'Teach Yourself' books, web sites, etc. If I have any questions about these materials, do I still need to post them to the homework section? The template asks specific things like school associated with or... (7 Replies)
Discussion started by: Chasman78
7 Replies

4. Post Here to Contact Site Administrators and Moderators

Apparently my post is Homework/Classwork?

I previously posted a question in the Shell Scripting forum a few minutes ago. I recieved a message telling me I had breached a rule, apparently because my post was a homework infraction. Well, im currently trying to figure out how to use Raspberry Pi's (as im a starter) I asked one of my... (1 Reply)
Discussion started by: Waggie14
1 Replies
Graphics::Primitive::Insets(3pm)			User Contributed Perl Documentation			  Graphics::Primitive::Insets(3pm)

NAME
Graphics::Primitive::Insets - Space between things DESCRIPTION
Graphics::Primitive::Insets represents the amount of space that surrounds something. This object can be used to represent either padding or margins (in the CSS sense, one being inside the bounding box, the other being outside) SYNOPSIS
use Graphics::Primitive::Insets; my $insets = Graphics::Primitive::Insets->new({ top => 5, bottom => 5, left => 5, right => 5 }); METHODS
Constructor new Creates a new Graphics::Primitive::Insets. Instance Methods as_array Return these insets as an array in the form of top, right, bottom and left. bottom Set/Get the inset from the bottom. equal_to Determine if these Insets are equal to another. left Set/Get the inset from the left. right Set/Get the inset from the right. top Set/Get the inset from the top. zero Sets all the insets (top, left, bottom, right) to 0. AUTHOR
Cory Watson, "<gphat@cpan.org>" SEE ALSO
perl(1) COPYRIGHT &; LICENSE Copyright 2008-2010 by Cory G Watson. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.3 2010-08-21 Graphics::Primitive::Insets(3pm)
All times are GMT -4. The time now is 05:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy