Variations on a theme...


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Variations on a theme...
# 1  
Old 09-16-2013
Variations on a theme...

Well you lot seriously amaze me.

There was a thread a few hours ago, (on the date stamp shown in this upload), that generated loads of solutions to a fairly simple problem:-

https://www.unix.com/shell-programmin...imes-line.html

As a amateur and still basically a complete novice I really enjoyed seeing all the variations on a single theme.

I am now ejnoying shell scripting so much that I have virtually ditched Python, (until now my fav' language), and put it in pole position.
I still like Python for the AMIGA so will still be using it.
However you lot who post replies have taught me so much since I started here a few months ago and for this I say thanks.

Why do I like shell scripting? Well I guess it is the fact that it is much like BASIC in the old days and structured coding seems optional rather than mandatory.

Why do I like this site? Well you lot have not treated me with utter contempt like one other site, (name withheld but related to this Macbook Pro), that regarded me as a total halfwit because I was a newbie.

I say thanks to all who give their spare time to keep site this as professinal as possible.

<Thumbs Up.>

This site, Linux Format and AMINET are now my 3 fav' sites...
Oh, and I forgot, <Me awaits tomatoes being thrown at me.>, I am a Facebook fanatic... ;oD

CYA...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remove matching pattern on each line with number variations

Hello folks! I have a file containing lines like this Something text 18:37Remove This: 1,111"Keep this text" Some more text 19:37Remove This: 222"Keep this text" More text 20:50Remove This: 3,333Keep this text And more text 25:50Remove This: 44,444Keep this text I would like to... (4 Replies)
Discussion started by: martinsmith
4 Replies

2. Shell Programming and Scripting

sed Command new Line not working Tried many variations

Hi I have assigned an output of a command to $I. I try to print the input and put a new line after occurrence of the hostname which is assigned to $HOST1 ( Example: pwrm16 ) . First of all I need to get rid of the Colon after the host name pwrm16: and make it pwrm16 then I want to print the... (10 Replies)
Discussion started by: mnassiri
10 Replies

3. Shell Programming and Scripting

Simple ways to pass variations to grep

can someone please show me a better way (if there is one), to grep out all variations (upper and small case letters) from a file? egrep "(panic|error|failed|fail|FAIL)" /var/log/messages I'm interested in finding any string that may indicate somethings wrong with ANY part of a system. so, if... (6 Replies)
Discussion started by: SkySmart
6 Replies

4. UNIX for Dummies Questions & Answers

Printing all 'case' variations of a word

Hey Guys & Gals, I am trying to figure out how one would go about printing all possible variations of letter cases in a given word. So if for instance given the input "test123" output would be ; test123 Test123 TEst123 TESt123 TEST123 tEst123 tESt123 tEST123 teSt123 teST123... (1 Reply)
Discussion started by: TAPE
1 Replies

5. Shell Programming and Scripting

script to include filename with variations at the beginning of the file

Hi there, I have a bunch of files that I want to modify. As a beginner, but nevertheless enthusiast, in the use of the shell I want to create a script enabling me to modify those files quickly. I had only some partial success with various peaces of scripts but I would like to create one script... (1 Reply)
Discussion started by: iamzesh
1 Replies

6. Post Here to Contact Site Administrators and Moderators

Christmas Theme still ?

https://www.unix.com/forumdisplay.php?s=&forumid=17 :) (3 Replies)
Discussion started by: manish
3 Replies
Login or Register to Ask a Question
REPORTER-UPLOAD(1)						 LIBREPORT MANUAL						REPORTER-UPLOAD(1)

NAME
reporter-upload - Uploads compressed tarball of problem directory. SYNOPSIS
reporter-upload [-c CONFFILE]... [-d DIR] [-u URL] DESCRIPTION
The tool is used to create a compressed tarball of the problem directory and upload it to a URL. Supported protocols include FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP and FILE. Configuration file Configuration file contains entries in a format "Option = Value". The options are: URL The URL where tarball should be uploaded. Integration with ABRT events reporter-upload can be used as a reporter, to allow users to upload compressed tarballs of problem directories to a configured URL. This usage can be configured in /etc/libreport/report_event.conf: EVENT=report_Upload reporter-upload It can be also used on the post-create event to upload it automatically. EVENT=post-create reporter-upload OPTIONS
-d DIR Path to problem directory. -c CONFFILE Path to configuration file. When used in ABRT event system, the file contains site-wide configuration. Users can change the values via environment variables. -u URL The URL where tarball should be uploaded. URL should have form protocol://[user[:pass]@]host/dir/[file.tar.gz] where protocol can be http(s), ftp, scp, or file. File protocol can't have user and host parts: file.tar.gz[1]. If URL ends with a slash, the archive name will be generated and appended to URL; otherwise, URL will be used as full file name. ENVIRONMENT VARIABLES
Environment variables take precedence over values provided in the configuration file. Upload_URL The URL where should be the tarball uploaded. AUTHORS
o ABRT team NOTES
1. file.tar.gz file:///dir/ LIBREPORT 2.1.11 06/18/2014 REPORTER-UPLOAD(1)