Hi all,
I have a variable, on some machines it is '1024', which is fine, but on others it is '1024Mb' etc. I need this variable to simply be '1024', does anyone know how I could ensure this is always the case? Perhaps a command to remove any letters/characters that aren't integers if there is... (3 Replies)
afternoon forums.
I need to get a way of testing as to wether an inputed character is part of the english alphabet.
i have come up with the following code but its not working at all.
until ']
do
echo This is not a Letter
done
any help would be beneficial to me. (1 Reply)
Hi,
I have same file by name
i want to keep only access file and want to delete rest. This is specific to DOS only.
Any idea of doing this. I tried so many options but none worked for me.
Thanks
Namish (11 Replies)
Hi,
It's my first time here... anyways, I have a simple problem with these filenames. This is probably too easy for you guys:
ABC_20101.2A.2010_01
ABD_20103.2E.2010_04
ABE_20107.2R.2010_08
Expected Output:
ABC_20101
ABD_20103
ABE_20107
The only pattern available are the ff:
1) All... (9 Replies)
Hello,
I have a text file that looks like:
ABC123|some text|some more text|00001
00002
0003
0004
000019|000003|Item
I have searched and found an example to remove the extra new line characters using grep and sed, but it (I think) assumes the lines start with a number and the... (5 Replies)
I use an extremely simple TAR function for files at work and I have a question about cleaning them up.
My command is TAR -cvf ExampleTarName.tar then the folder I wish to TAR.
When my TAR finishes and I double click it to check it unarchived beautifully (I don't do this with every file, duh)... (5 Replies)
hi,
i need to remove the extra spaces in the filed.
Sample:
abc~bd ~bkd123 .. 1space
abc~badf ~bakdsf123 .. 2space
abc~bqed ~bakuowe .. 3space
output:
abc~bd ~bkd123 .. 1space
abc~badf~bakdsf123 .. 2space
abc~bqed~bakuowe .. 3space
i used the following command, (2 Replies)
hi,
i need to remove the extra spaces in the 2nd field.
Sample:
abc|bd |bkd123 .. 1space
abc|badf |bakdsf123 .. 2space
abc|bqe |bakuowe .. 3space
Output:
abc|bd|bkd123
abc|badf|bakdsf123
abc|bqe|bakuowe
i used the following command, (9 Replies)
I have a file where data looks like this:
===
<?xml version="1.0" encoding="utf-8"?>
<xml xmlns:s='uuid:XYZ'
xmlns:dt='uuid:ABC'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row'... (7 Replies)
Hi there,
I am trying to remove al letters after : character on specific columns from 10th column till 827. I used sed and cut to do so but I am sure there is better one liner someone can think of from unix community members.
Huge file but it has this structure (Total number of Columns =... (10 Replies)
Discussion started by: daashti
10 Replies
LEARN ABOUT DEBIAN
passage
passage(6) Games passage(6)NAME
passage - a game about the passage through life
SYNOPSIS
passage
DESCRIPTION
Passage is a video game written by Jason Rohrer about navigating the maze that is life and the obstacles, rewards, disappointments, chal-
lenges, relationships and the inevitable departure that is part of the adventure of life.
Passage is an art game. As a result, some people love it and some people hate it. Check out the links to places it has been discussed on
the website for some of the reactions.
The mechanics of the game are fairly simple. Your "score" is related to two things; exploration and treasure. Treasure pieces are repre-
sented by blue stars that you find in the treasure chests scattered about the maze of life's challenges. Some chests will be empty, so you
must learn which sequence of gems on the front of the chests means treasure is inside. You have the option to team up with a spouse. If
you do, exploring life will be more rewarding but some treasure will no longer be reachable. As in life, your spouse will die and that
death will slow you down. In the end, you will die alone after your 5 minutes is up.
The most interesting part about this game is the emotions it evokes within the player of the game. The ultra-low-res pixel art helps here,
by not being too distracting and by leaving plenty room for viewer interpretation.
The followup to Passage is Gravitation, another art game by Jason Rohrer.
USAGE
Passage has no command-line options.
The arrow keys move the player around.
The Esc key is used to quit the game.
The game resolution and use of fullscreen or a window can be set by editing the files in /etc/passage.
SEE ALSO
The website and discussion: http://hcsoftware.sourceforge.net/passage/
The game creators statement: http://hcsoftware.sourceforge.net/passage/statement.html
March 2008 passage(6)