06-09-2015
Just asking as i dont speak C[#/+].
0) Is this a GUI or console app?
1) It (to me) looks like you can only adress one screen at the time, due to the if-elif block, you might want to change (or just add) a for ARG loop?
hth
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good day!
I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories.
I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Discussion started by: kielitaide
12 Replies
2. Programming
Hi All,
Here's my question
I have a 385 MB file containing 5,000,000 records.
I need to read from the file and load into a table.
Initially i thought of doing it in a single thread (execution of a single program) but when calculated accounted 16 hours of time on a standard benchmark.
Hence... (5 Replies)
Discussion started by: matrixmadhan
5 Replies
3. UNIX for Dummies Questions & Answers
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies
4. Programming
I am not sure if multi threading is the correct term, but here is what I am trying to do. I have a while loop that displays the number 1, pauses, displays the number 2, pauses , displays the number 3 ad infinitum. It just keeps counting.
While the screen displays the sequence of numbers counting... (4 Replies)
Discussion started by: enuenu
4 Replies
5. Shell Programming and Scripting
I have fixed width source file data look like this,
J510111112222
J5102ABCD
J510133334444
J5102EFGH
I want to make this like
11112222J510111112222
11112222J5102ABCD
33334444J510133334444
33334444J5102EFGH
Bolded is the record type.
Thanks for help. (8 Replies)
Discussion started by: saravanamr
8 Replies
6. Red Hat
Hi,
We will purchase redhat enterprise WS. We want to use Windows and Redhat in same machine. For this purpose , should we buy Redhat with Multi OS option? Or Is it just for virtualization..? (I couldnt be sure)
Regards... (3 Replies)
Discussion started by: titanic
3 Replies
7. Shell Programming and Scripting
I have a file with data records separated by multiple equals signs, as below.
==========
RECORD 1
==========
RECORD 2
DATA LINE
==========
RECORD 3
==========
RECORD 4
DATA LINE
==========
RECORD 5
DATA LINE
==========
I need to filter out all data from this file where the... (2 Replies)
Discussion started by: Finja
2 Replies
8. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
9. UNIX for Dummies Questions & Answers
Hello
I have a CentOS 6.5
PHP version : 5.4
Software : Nginx+Apache
PHP handler : fcgi
Currently I have php 5.4, however I have some scripts which requires php 5.3. How can I achieve this? PHP selector requires CloudLinux. I do not wish to buy CloudLinux subs
Can anyone guide me how can... (1 Reply)
Discussion started by: johnchristy
1 Replies
10. Shell Programming and Scripting
Input File:
>Seq1
ASDADAFASFASFADGSDGFSDFSDFSDFSDFSDFSDFSDFSDFSDFSDFSD
>Seq2
SDASDAQEQWEQeqAdfaasd
>Seq3
ASDSALGHIUDFJANCAGPATHLACJHPAUTYNJKG
......
Desired Output File
>Seq1
ASDADAFASF
ASFADGSDGF
SDFSDFSDFS
DFSDFSDFSD
FSDFSDFSDF
SD
>Seq2 (4 Replies)
Discussion started by: patrick87
4 Replies
MEDIT(1) General Commands Manual MEDIT(1)
NAME
medit - text editor
SYNOPSIS
medit [OPTION]... [FILES]
DESCRIPTION
medit is a text editor.
OPTIONS
-n, --new-app
run new instance of medit. By default medit opens FILES (or creates a new document if none are given) in an existing instance of
application
-s, --use-session[=yes|no]
load and save session. By default medit does it when -n is not used. If this option is not given on command line then medit uses
the corresponding preferences setting.
--pid PID
use existing instance with process id PID.
--app-name NAME
use instance name NAME. If an instance with this name is already running, then it will send files given on the command line to that
instance and exit.
-e, --encoding ENCODING
use provided character encoding to open the file
-l, --line LINE
open file and position cursor on line LINE. Alternatively line number may be specified with filename, e.g. medit foo.txt:12
-r, --reload
automatically reload opened file if it was modified on disk by another program.
-w, --new-window
open file in a new window.
-t, --new-tab
open file in a new tab.
--log-file FILE
write debug output into FILE. This option is only useful on Windows.
--log-window
show debug output in a log window. This option is only useful on Windows.
--debug DOMAINS
enable debug output for DOMAINS (if medit was compiled with --enable-debug option).
--geometry WIDTHxHEIGHT
--geometry WIDTHxHEIGHT+X+Y
default window size and position.
-h, --help
show summary of options.
-v, --version
show program version.
FILES list of files to open. Filenames may include line numbers after colon, e.g. /tmp/file.txt:200. Trailing colon is ignored.
ENVIRONMENT VARIABLES
MEDIT_PID
if set, it is used as --pid argument. When medit spawns a process (e.g. a DVI viewer) it sets MEDIT_PID to its own process id, so
the child process may in turn simply use 'medit filename' to open a file (e.g. for inverse DVI search).
CONTACT
http://mooedit.sourceforge.net/contact.html
AUTHOR
Written and maintained by Yevgen Muntyan <emuntyan@users.sourceforge.net>
September 2010 MEDIT(1)