Hello I am new to Unix. Please help me out.
My Scenario:
I am first collecting all the file names present in the directory with structure myinfo/yourinfo/supplierinfo
I have four files with the names myCollector.java, yourCollector.java, someCollector.java, everyCollector.java. in the directory.... (1 Reply)
I want to run an awk split on a value that has been pushed through an array and I was wondering what the syntax should be??
e.g. running time strings through an array and trying to examine just minutes:
12:25:30
10:15:13
08:55:23
awk '
NR==FNR{
... (2 Replies)
Hi Forum,
I am struggling with the for loop in shell script.
Let me explain what is needed in the script.
I have a file which will conatin some strings like
file1
place1
place2
place3
checkpoint
some other text
some more text
Now what my requirement is
the words ... (2 Replies)
I am writing a shell script using the korn shell. It seems that I am only
able to use local variables within a while loop that is reading a file.
(I can't access a variable outside a previously used while loop.) It's been
a while since I wrote shell scripts. Here is a sample
cat file.txt... (4 Replies)
NEWBIE ALERT!
Hi,
I'm 1 month into learning Perl and done reading "Minimal Perl" by Tim Maher (which I enjoyed enoumously). I'm not a programmer by profession but want to use Perl to automate various tasks at my job. I have a problem (obviously) and are looking for your much appreciated help.... (0 Replies)
Below is a test script I was trying to use so that I could understand why the logic was not working in a larger script. While accessing and printing array data inside the while loop, everything is fine. Outside the loop, i guess everything is null?? The for loop that is meant to cycle... (4 Replies)
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
There are two parts to this. In the first part I need to read a list of files from a directory and split it into 4 arrays. I have done that with the following code,
# collect list of file names
STATS_INPUT_FILENAMES=($(ls './'$SET'/'$FOLD'/'*'in.txt'))
# get number of files... (8 Replies)
OS : RHEL 6.7
Shell : bash
I have a text file with 5.97 million lines.
I want to split this big file into 12 different files (in sequential order) so that each file will contain roughly 500K lines. I tried the following awk command after googling. But, it just created 2 files... (5 Replies)
Discussion started by: omega3
5 Replies
LEARN ABOUT CENTOS
gedit
GEDIT(1) General Commands Manual GEDIT(1)NAME
gedit - text editor for the GNOME Desktop
SYNOPSIS
gedit [OPTION...] [FILE...] [+LINE[:COLUMN]]
gedit [OPTION...] -
DESCRIPTION
gedit is the official text editor of the GNOME desktop environment.
While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. It can be used to create and edit all kinds
of text files.
gedit features a flexible plugin system which can be used to dynamically add new advanced features to gedit itself.
OPTIONS --encoding
Set the character encoding to be used for opening the files listed on the command line.
-g, --geometry=GEOMETRY
Set the X geometry window size (WIDTHxHEIGHT+X+Y).
--list-encodings
Display list of possible values for the encoding option and exit.
--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.
-s, --standalone
Run gedit in standalone mode.
-w, --wait
Open files and block the gedit process.
--help Prints the command line options.
--version
Output version information and exit.
FILE Specifies the file to open when gedit starts. If this is not specified, gedit will load a blank file with an "Unsaved Document"
label. Multiple 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/robots.txt".
- gedit will read from stdin
+LINE For the first file, go to the line specified by LINE (do not insert a space between the "+" sign and the number). If LINE is miss-
ing, go to the last line.
COLUMN For the first file, go to the column specified by COLUMN. If COLUMN is missing, go to the first column.
BUGS
If you find a bug, please report it at http://bugzilla.gnome.org/enter_bug.cgi?product=gedit.
AUTHORS
Paolo Maggi (paolo@gnome.org)
Paolo Borelli (pborelli@katamail.com)
Steve Frecinaux (code@istique.net)
Jesse van den Kieboom (jessevdk@gnome.org)
Ignacio Casal Quinteiro <icq@gnome.org>
James Willcox (jwillcox@gnome.org)
Federico Mena Quintero (federico@novell.com)
Chema Celorio
17 May 2010 GEDIT(1)