11-11-2014
cmccabe,
If I understand correctly, the answer to your first question regarding the ASCII flowchart is "I did it manually in gedit (
https://wiki.gnome.org/Apps/Gedit) with a monospaced font (
https://en.wikipedia.org/wiki/Monospaced_font) conveniently called Monospace".
I don't understand what you mean with "collapse function". Seems to be a notepad++ question
Sorry, I have neither notepad++ nor a Windows machine.
Don,
thank you for the hint.
Is it possible to make the functions "return", without major changes?
I admit I misused the functions as goto replacement
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I'm trying to wirte a small shell script in Linux. My script has the flow like,
cmd1
cmd2
cd testdata
cmd3
After exiting the program, the CWD remains the same as where I execute the program. I need it to be changed to the latest updated directory in the program. How can I do... (1 Reply)
Discussion started by: vadivel
1 Replies
2. Shell Programming and Scripting
hi,
Iam in directory A. I run a script from there. inside the script i have a command cd B.
When i come out of the script directory is A only.
Even when i come out scrip i want the directory to be B
How to achieve (2 Replies)
Discussion started by: mkan
2 Replies
3. Shell Programming and Scripting
I would like to have a script that would change my current working directory. However, any time I execute a 'cd' command in a script, it holds only for the life of that script -- the working directory on exit is the same as when the script was initiated. Is it possible to have the script return... (3 Replies)
Discussion started by: George Borrmann
3 Replies
4. UNIX for Dummies Questions & Answers
I have a directory that is existing under my root dir of the FTP server. The DIR name is 'Software Patch'. I want to move in to that DIR to download some patches. But, when I issued a command 'cd SOftware Patch', the system said that it cannot find the dir 'Software'. I tried all possible ways like... (2 Replies)
Discussion started by: vskr72
2 Replies
5. Shell Programming and Scripting
I have a directory of files and each file has a random 5 digit string at the beginning that needs to be removed. Plus, there are some files that will be identically named after the 5 digit string is removed and I want those eliminated or moved.
any ideas? (17 Replies)
Discussion started by: crumb
17 Replies
6. Shell Programming and Scripting
I have a simple shell script that prompts the user to enter a directory to navigate to.
What i want it to do and i don't know how to do this is if the directory is invalid automatically navigate to the home directory.
echo "enter a directory to navigate to:"
read directory
cd $directory... (6 Replies)
Discussion started by: icelated
6 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I Installed mysql on my CentOS 6.2 Server. But when I tried to change the location of /var/lib/mysql to another directory. I can't start the mysql. Below is what I've done
yum install mysql mysql-server mysql-devel
mkdir /path/to/new/
cp -R /var/lib/mysql /path/to/new
chown -R... (1 Reply)
Discussion started by: ganitolngyundre
1 Replies
8. Shell Programming and Scripting
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Discussion started by: saurau
2 Replies
9. Shell Programming and Scripting
Hi All,
There is a code like below in my script
###############################################
###Create Directories and Sub-Directories
###############################################
dpdir=DP_FROM_${from}_TO_${to}
mkdir $dpdir
cd $dpdir
mkdir AWQM WFCONTROLLER PROVCO PRISM
... (1 Reply)
Discussion started by: pvmanikandan
1 Replies
10. Shell Programming and Scripting
#!/bin/bash
echo -n "Enter number of sanger patients : "; read id
perl -ne 'chomp; system ("perl table_annovar.pl $_ humandb/ -buildver hg19 -protocol refGene,popfreq_all,common,clinvar,clinvarsubmit,clinvarreference -operation g,f,f,f,f,f -otherinfo")' < file.txt
I have the above script... (7 Replies)
Discussion started by: cmccabe
7 Replies
GEDIT(l) GEDIT(l)
NAME
gedit - simple text editor for GNOME
The gedit application is a simple text editor. You can use gedit to create and edit text files. You can use gedit plugins to perform a
variety of tasks related to text-editing from within the gedit window.
SYNTAX
gedit [--help] [--debug[-section]] [--new-window] [--new-document] [--quit] [filename(s)...]
DESCRIPTION
gedit is a text editor for the GNOME Desktop.
OPTIONS
--help Prints the command line options.
--debug[-section]
Runs gedit in debug mode. In debug mode function names are dumped to the console when they are invoked. Specific sections for debug-
ging are allowed. The sections are: window, commands, document, file, plugins, prefs, print, search, undo, view and recent. Run
`gedit --help' for more information.
--new-window
Create a new toplevel window in an existing instance of gedit.
--new-document
Create a new document in an existing instance of gedit.
--quit Quit an existing instance of gedit.
filename(s)...
Specifies the file to open when gedit starts - if this is not specified, gedit will load a blank file with an Untitled label. Multi-
ple files can be loaded if they are separated by spaces. gedit also supports handling of remote files. For example, you can pass
the location of a webpage to gedit, like "http://www.gnome.org", or load a file from a FTP server, like "ftp://ftp.gnome.org/ro-
bots.txt".
PIPES
Gedit accepts pipes, so it can be run after another command to load the output into gedit. For example :
ls -l | gedit
BUGS
If you find a bug, please report it at http://bugzilla.gnome.org/enter_bug.cgi?product=gedit.
AUTHORS
Paolo Maggi (maggi@athena.polito.it)
James Willcox (jwillcox@cs.indiana.edu)
Federico Mena Quintero (federico@ximian.com)
Chema Celorio (chema@celorio.com)
05 Jan 2003 GEDIT(l)