implementation. somehow for got away with accepting a list, but while didn't. I would not rely on it, but it has saved me a few bytes with code golfing
Hello,
I have a very stupid/simple problem, but for some reason I cannot figure out...and I need your help!
I am writting a bash scrip that should be executed using "my_script X Y Z T" where X Y Z and T can be any string, but there can be any number of arguments.
I want my script to do... (4 Replies)
EDIT : This is for perl
@data2 = grep(/$data/, @list_now);
This gives me @data2 as
Printing data2 11 testzone1 running /zones/testzone1 ***-*****-****-*****-***** native shared
But I really cant access data2 by its individual elements.
$data2 is the entire list, while $data,2,3...... (1 Reply)
Hi everyone,
This is an exemple of inpout.txt file (a "," delimited text file which can be open as csv file):
ID, Code, Value, Store SP|01, AABBCDE, 15, 3 SP|01, AABBCDE, 14, 2 SP|01, AABBCDF, 13, 2 SP|01, AABBCDE, 16, 3 SP|02, AABBCED, 15, 2 SP|01, AABBCDF, 12, 3 SP|01, AABBCDD,... (1 Reply)
Heyas
I'm trying to read out a file which contains a variable and use that list to complete a bash command.
Difficult part on this is, that 2 (actualy 3) different lists are to be used, but the 'dynamic' ones from the external file dont work properly.
It only seems to work with the list... (2 Replies)
Dear all,
I believe this is a Bash basic question... I am bit ashamed for asking actually...
I want to create a Bash script that compares 2 different folders:
1) work_folder
and
2) work_folder.git
#!/bin/bash
FOLDER_NAME=`pwd | awk -F/ '{ print $NF }' | awk -F. '{ print $1 }'`
... (6 Replies)
The below bash is trying to list the folders in a specific directory. It seems close but adds the path to the filename, which basename could strip off I think, but not sure why it writes the text file created? This list of folders in the directory will be used later, but needs to only be the... (5 Replies)
Hello.
I have a script that writes parameters in alphabetic order.
But I have a parameter which have 3 lines. There is no continuation character ( '\' ). Each of the three lines finish with 'cr'. But line 2 and 3 of the concerning parameter start with a tab char (but should be one or more... (7 Replies)
Discussion started by: jcdole
7 Replies
LEARN ABOUT DEBIAN
freevial
FREEVIAL(6) Games Manual FREEVIAL(6)NAME
freevial - trivia platform for community events
SYNOPSIS
freevial [OPTIONS] [--database <PATH>] [--skin <PATH>]
DESCRIPTION
This page briefly documents the freevial command. Freevial is trivia-like game for community events (idealy to be played with a projector).
USAGE
You may need to specify the path to the questions database you want to use with the --database argument. The database can be either folder
or a compressed file.
Additionally, you can choose a different look using the --skin option to tell it where the appearance information it should use is located.
OPTIONS -d, --debug
Run Freevial in debug mode (this doesn't change much at all).
-m, --mute
Disable music and sounds.
-f, --fullscreen
Start in fullscreen mode (it can be windowed ingame with F11).
-l, --locked
Start in locked mode (game can't be closed nor questions aborted; unlock by pressing the l-key in the team selection screen).
-h, --help
Prints the help and exists.
-v, --version
Prints information about the current version and release series, and exists.
--info-db, --info-database
Prints information about the loaded database and exists. This can be combined with the --database option.
--no-sound
Disables all sounds. You can use --mute to also disable the music.
--no-music
Disables the music. You can use --mute to also disable sounds.
--fps Displays the framerate on screen.
--psyco
Tries to use the psyco module in order to accelerate Freevial. This is not recommended, as it will need more memory.
REPORTING BUGS
If you find any bug please report it on: https://bugs.launchpad.net/freevial/.
AUTHOR
Freevial was written by Carles Oriol <carles@kumbaworld.com> and Siegfried-Angel Gevatter Pujals (RainCT) <siggi.gevatter@gmail.com>.
COPYRIGHT
Copyright (C) 2007-2008 The Freevial Team
Freevial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 3 of
the License or any later version.
Freevial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; see the GNU General Public License for more details.
Freevial Gresca November 24, 2007 FREEVIAL(6)