04-01-2013
Bumping up posts or double posting is not permitted in these forums.
Please read the
rules, which you agreed to when you registered, if you have not already done so.
You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future
Thank You.
The UNIX and Linux Forums.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm attempting to search, using awk, a pattern range in a file. Something like:
>awk '/first bit of text.../,/...last bit of text/' file
Is it possible to print only the last (or first) occurrence of the pattern range this way?
Thanks for any suggestions.
Al (2 Replies)
Discussion started by: agibbs
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have several files with data that have to be imported to a database. These files contain records with separator characters. Some records are corrupt (2 separators are missing) and I need to correct them prior to importing them into the db.
Example:
... (5 Replies)
Discussion started by: stresing
5 Replies
3. UNIX for Dummies Questions & Answers
I need to write a Unix shell script which will list top 10 files in a directory tree on basis of size. i.e. first file should be the biggest in the whole directory and all its sub directories.
Please suggest any ideas (10 Replies)
Discussion started by: abhilashnair
10 Replies
4. Shell Programming and Scripting
Hi,
Has anyone tried to restrict Solaris 10 unix find on a large directory structure based on time to stop running after finding the first occurrence of a matching query. Basically I'm trying to build up a usage map of user workspaces based on file modification (week/month/3 months/year etc) and... (3 Replies)
Discussion started by: jm0221
3 Replies
5. Shell Programming and Scripting
Hi all,
I am processing a file with awk that looks like this:
"
0.0021 etc
0.0123 etc
0.1234 etc
...
0.5324 etc
0.5434 etc
0.6543 etc
...
1.0344 etc
1.1344 etc
...
1.5345 etc
1.5632 etc
"
I need to print out only the lines that have '0' or '5' after the comma, plus I need only... (11 Replies)
Discussion started by: ioannisp
11 Replies
6. Shell Programming and Scripting
Hello,
I am trying to get a script to work which will find the maximum value of the fourth column and assign that value to all rows where the first three columns match.
For example:
1111 2222 AAAA 0.3
3333 4444 BBBB 0.7
1111 2222 AAAA 0.9
1111 2222 AAAA 0.5
3333 4444 BBBB 0.4
should... (8 Replies)
Discussion started by: jaysean
8 Replies
7. Shell Programming and Scripting
Hello,
I am working with a perl script that tries to find the average "frequency" in which lines are duplicated. So far I've only managed to find the way to count how many times the lines are repeated, the code is as follows:
perl -ae'
my $filename= $ENV{'i'};
open (FILE, "$filename") or... (10 Replies)
Discussion started by: acsg
10 Replies
8. Shell Programming and Scripting
I am trying to find the minimum maximum and average from one file which has values
Received message from https://www.demandmatrix.net/app/dm/xml] in milliseconds.
Received message from https://www.demandmatrix.net/app/dm/xml] in milliseconds.
Received message from... (5 Replies)
Discussion started by: aroragaurav.84
5 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone, I'm a new member at the forum I mistakenly posted this elsewhere too.
I have a file like this: field 2 values are either 0 or negative. file test4:
100815 -20
118125 0
143616 0
154488 0
154488 0
154488 -6
196492 -5
196492 -9
196492 -7
27332 0... (5 Replies)
Discussion started by: meet77
5 Replies
10. Shell Programming and Scripting
I've the files in a directory in the following format having date +%Y%m%d%H
YR_MNTH_2013061205
YR_MNTH_2013060107
and i need the latest file i.e; YR_MNTH_2013061205 to be moved to another folder
#!/bin/ksh
# Ksh 88 Version
for test_time in YR*
do
---
done
How can i achieve that !... (2 Replies)
Discussion started by: smile689
2 Replies
LEARN ABOUT DEBIAN
jekyll
JEKYLL(1) User Commands JEKYLL(1)
NAME
Jekyll - is a blogaware, static site generator.
USAGE
jekyll # . -> ./_site
jekyll <path to write generated site>
# . -> <path>
jekyll <path to source> <path to write generated site>
# <path> -> <path>
jekyll import <importer name> <options>
# imports posts using named import script
Configuration is read from '<source>/_config.yml' but can be overridden using the following options:
OPTIONS
--file [PATH]
File to import from
--dbname [TEXT]
DB to import from
--user [TEXT]
Username to use when importing
--pass [TEXT]
Password to use when importing
--host [HOST ADDRESS]
Host to import from
--site [SITE NAME]
Site to import from
--[no-]safe
Safe mode (default unsafe)
--[no-]auto
Auto-regenerate
--server [PORT]
Start web server (default port 4000)
--no-server
Do not start a web server
--base-url [BASE_URL]
Serve website from a given base URL (default '/'
--[no-]lsi
Use LSI for better related posts
--[no-]pygments
Use pygments to highlight code
--rdiscount
Use rdiscount gem for Markdown
--redcarpet
Use redcarpet gem for Markdown
--kramdown
Use kramdown gem for Markdown
--time [TIME]
Time to generate the site for
--[no-]future
Render future dated posts
--permalink [TYPE]
Use 'date' (default) for YYYY/MM/DD
--paginate [POSTS_PER_PAGE]
Paginate a blog's posts
--limit_posts [MAX_POSTS]
Limit the number of posts to publish
--url [URL]
Set custom site.url
--version
Display current version
AUTHOR
This manual page was written by Youhei SASAKI <uwabami@gfd-dennou.org>, for the Debian GNU/Linux system(but may be used by others).
Jekyll 0.11.2 May 2012 JEKYLL(1)