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
metacity(1)							   User Commands						       metacity(1)

NAME
metacity, metacity--theme-viewer - GNOME desktop window manager, theme viewer for the metacity window manager themes SYNOPSIS
metacity [--display=display] [--help] [--replace] [--sm-client-id=id] [--sm-disable] [--sm-save-file=file] [--version] metacity-theme-viewer [theme-name] DESCRIPTION
metacity is a fully integrated window manager that is designed to integrate well with the GNOME desktop. To configure metacity, use the GNOME preferences dialogs. metacity-theme-viewer is an application for testing and displaying metacity themes. Note: The metacity window manager also provides a library called libmetacity-private. This library is licensed under GPL. Please see the license file at /usr/share/doc/SUNWgnome-wm/COPYING.bz2 for implications when writing a program which uses this library. OPTIONS
The following options are supported: --display=display Specify the remote X display to be used by the window manager, where display is in the following format: hostname:displaynumber.screennumber -?, --help Display detailed usage message. --replace A window manager which is running is replaced by metacity. Users are encouraged to change the GNOME window manager by running the new WM with the --replace option, and subsequently saving the session. --sm-client-id=id Specify a session management id. --sm-disable Disable the session management. --sm-save-file=file Specifies the session management file to be used. By default, the $HOME/.metacity/sessions file is used. --version Display the version information for metacity. OPERANDS
The following operands are supported: theme-name Specifies the theme that metacity-theme-viewer should use. If no theme is specified on the command line, then metacity-theme-viewer loads the Crux theme. An error message is displayed if the theme does not exist. EXAMPLES
Example 1: Starting metacity From the Command Line When a metacity is Already Running example% metacity --replace Example 2: Starting metacity With a Non-Default Session Management File example% metacity --sm-save-file=filename EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/metacity The command-line executable for the metacity window manager. /usr/bin/metacity--theme-viewer The command-line executable for the metacity theme viewer application. /usr/share/doc/SUNWgnome-wm/COPYING.bz2 Location of license file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-wm | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. metacity-message(1), metacity-window-demo(1), bzip2(1), attributes(5) http://www.fsf.org/licensing/ NOTES
Written by Laszlo Kovacs, updated by Halton Huo, Sun Microsystems Inc., 2003, 2006, 2007, 2008. SunOS 5.11 16 Sep 2008 metacity(1)