Sponsored Content
Full Discussion: Simple SED Question
Top Forums UNIX for Beginners Questions & Answers Simple SED Question Post 303040750 by Vartika18 on Wednesday 6th of November 2019 03:23:03 AM
Old 11-06-2019
Thanks alot Sir.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Simple sed question

Is there an easier way to do the following: echo "|||||||" | sed 's/||/|0|/g; s/||/|0|/g' which would give the following |0|0|0|0|0|0| If it is not run twice it will not pick up the second occurance of the || and leave it empty as in echo "|||||||" | sed 's/||/|0|/g' which would give... (3 Replies)
Discussion started by: maverick
3 Replies

2. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

3. Shell Programming and Scripting

sed - simple question

Hello My file looks like that => 12.56 have then 7888778.2566 what 44454.54545 878787.66565 if else 4445.54545455 I want to change all '.' on ',' . I'm trying to do it with sed but I don't know chow to build regular expression to change 454.4466 on 454,4466 ? (13 Replies)
Discussion started by: scotty_123
13 Replies

4. Shell Programming and Scripting

simple sed question

hi is it possible to cut this two semicolon separated sed commands echo "string2 string3 string1" | sed s'/string1//g;s/string2//g' output: " string3 " to just one sed command without semicolon? thanks in advance funksen (10 Replies)
Discussion started by: funksen
10 Replies

5. Shell Programming and Scripting

simple awk/sed/tr question

I have a file CREATE TABLE DDD_EXT --- 1000 ( val u1 val u1 ); CREATE TABLE dsdasd_EXT --- 1323 ( val u1 val u1 ); CREATE TABLE AAAAAA_EXT --- 1222 ( val u1 val u1 ); CREATE TABLE E_EXT --- 11 ( val u1 val u1 (2 Replies)
Discussion started by: jville
2 Replies

6. Shell Programming and Scripting

simple sed question

How do I remove parentheses using sed? input (192.168.1.1) output 192.168.1.1 (4 Replies)
Discussion started by: streetfighter2
4 Replies

7. Shell Programming and Scripting

Simple sed question.

I have a log output with a format similar to this: a=1, b= 2 c=0, d= 45, e=100 ... and so on. I figure I can just use awk or something to pipe the file to sed, but I'm trying to replace all the values above with 0. I've tried: cat blah | sed 's/=\(.*\),/0/'but that didn't work. ... (6 Replies)
Discussion started by: throw_a_stick
6 Replies

8. Shell Programming and Scripting

simple sed question - replace from phrase to end of line

I have the following line an in input file I want to digest with sed and simple replace the bold part with a variable defined in my bash script. I can do this in several sed operations but I know there must be a way to do it in a single sed line. What is the syntax? Line in file:... (1 Reply)
Discussion started by: graysky
1 Replies

9. Shell Programming and Scripting

Simple sed script question

Script newbie, so I'm sure I'm missing something obvious here, but how come this simple script does not work? #!/bin/bash ... (3 Replies)
Discussion started by: KidCactus
3 Replies

10. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
SOL(6)								   Games Manual 							    SOL(6)

NAME
AisleRiot - a collection of card games which are easy to play with the aid of a mouse. SYNOPSIS
sol [options] DESCRIPTION
This manual page documents briefly the sol command. For more information, please refer to the excellent GNOME help for AisleRiot AisleRiot (also known as Solitaire or sol) is a collection of card games which are easy to play with the aid of a mouse. The rules for the games have been coded for your pleasure in the GNOME scripting language (Scheme). It is part of the gnome-games package. The following games can be selected from within the program, or by using a command line switch: Peek, Auld Lang Syne, Fortunes, Seahaven, King Albert, First Law, Straight Up, Jumbo, Accordion, Ten Across, Plait, Lady Jane, Gypsy, Neighbor, Jamestown, Osmosis, Kings Audience, Glenwood, Gay Gordons, Monte Carlo, Kansas, Camelot, Fourteen, Scorpion, Isabel, Escalator, Agnes, Bristol, Quatorze, Bear River, Gold Mine, Athena, Spiderette, Chessboard, Backbone, Yukon, Union Square, Eight Off, Napoleons Tomb, Forty Thieves, Streets And Alleys, Maze, Clock, Pileon, Canfield, Thirteen, Bakers Game, Triple Peaks, Easthaven, Terrace, Aunt Mary, Carpet, Sir Tommy, Diamond Mine, Yield, Labyrinth, Thieves, Saratoga, Cruel, Block Ten, Will O The Wisp, Odessa, Eagle Wing, Treize, Zebra, Cover, Elevator, Fortress, Giant, Spider, Gaps, Bakers Dozen, Whitehead, Freecell, Hel- sinki, Spider Three Decks, Scuffle, Poker, Klondike Three Decks, Valentine, Royal East, Thumb And Pouch, Klondike, Doublets, Tem- plate, Golf, Westhaven, Beleaguered Castle, Hopscotch, Eliminator, Aunt Mary OPTIONS
AisleRiot accepts the following options, besides the usual Gtk+/GNOME switches: -v, --variation=NAME Select the game to play --display=DISPLAY X display to use USAGE
This text is taken verbatim from the AisleRiot Manual V2.12. Moving the cards is reasonably obvious. Assuming you have a right-handed mouse, left-click on a card and drag it somewhere. Release the mouse button to deposit the card. If a card can be moved to the foundation(s), you do not need to drag it. You can double-click on it and it will move. If a sequence of cards can be moved to the foundations, you can generally move the sequence as one move. Double clicking a card will send it to a foundation, if that is possible. This is useful for cleaning up large numbers of cards at the end of a successful game. In games which have a stock pile you can redeal it by clicking on the empty space where it was. Be warned that some games only let you do this a limited number of time. Watch for the Redeals Left message at the bottom of the window. A useful tip to know is that right-clicking on a face-up card which is partially obscured by a card laid over it will raise it so that you can see what it is. There is an alternative way to move cards. By selecting Click to move from the Control menu you can click once to pick up a card and then click again to place it. This can be faster than dragging and will be easier on your hand since you don't have to hold the mouse down. However, it may take a while to get used to. Some games have options to change the way the game is played. For example Klondike can be played with either single card deals or three- card deals. In these games there is a separate menu with the game's name. You can only change the rules of the game at the beginning of the game -- the menu will be inactive during the game. Statistics on how well you have done at a particular game are available by selecting Statistics from the Game menu. Only games where you actually start moving cards are counted. The statistics are here for your own enjoyment, there are numerous ways to cheat and it is unwise to make comparisons. HOMEPAGE
http://www.gnome.org/projects/gnome-games/ AUTHOR
This manual page was written by Martin Ferrari <martin.ferrari@gmail.com>, for the Debian system (but may be used by others). You can find the list of authors and more information about AisleRiot in /usr/share/doc/gnome-games. AisleRiot March 22, 2007 SOL(6)
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy