Hello,
I am running ubuntu 14.04. My purpose is to sort below file according to value of id even though it contains alphanumeric strings inside double quote. File is not tab separated. I am not sure that can be done...
mydata
Expected output:
What I tried:
Thank you
Boris
EDIT:
Hello,
I have solved somehow with a bit long way but it's okay now.
Then with grep and while read -r line loop.
Thanks
Boris
Last edited by baris35; 06-02-2019 at 06:40 PM..
Reason: solved
I wrote script in bash which generates this report:
User1,admin,rep,User2,shell,path1,x1,r1
User2,admin,rep,User7,shell,path1,x1,r1
User3,admin,rep,User4,shell,path1,x1,r1
User4,admin,rep,User3,shell,path1,x1,r1
User5,admin,rep,User1,shell,path1,x1,r1
User6,admin,rep,User5,shell,path1,x1,r1... (6 Replies)
Hi Guys,
I need help in modifying a large text file containing more than 1-2 lakh rows of data using unix commands. I am quite new to the unix language
the text file contains data in a pipe delimited format
sdfsdfs
sdfsdfsd
START_ROW
sdfsd|sdfsdfsd|sdfsdfasdf|sdfsadf|sdfasdf... (9 Replies)
Hi pls help me out to short out this problem
rm PAB113_011.out
rm: PAB113_011.out: override protection 644 (yes/no)? n
If i give y it remove the file.
But i added the rm command as a part of ksh file and i tried to remove the file. Its not removing and the the file prompting as... (7 Replies)
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
I have 2 files,
file01= 7 columns, row unknown (but few)
file02= 7 columns, row unknown (but many)
now I want to create an output with the first field that is shared in both of them and then subtract the results from the rest of the fields and print there
e.g.
file 01
James|0|50|25|10|50|30... (1 Reply)
Hi Experts,
I have a filelist collected from another server , now want to sort the output using date/time stamp filed.
- Filed 6, 7,8 are showing the date/time/stamp.
Here is the input:
#----------------------------------------------------------------------
-rw------- 1 root ... (3 Replies)
Hi I'm a UNIX awk and sed novice at best. I'm trying to creat a .csv file so it can be graphed in Excel. Tried various xargs, awk, sed and paste but just can't seem to get the data to line up. Not sure if this is beyond for a question in these forums. Any help would greatly be appreciated.
Have... (4 Replies)
Hi I would like to move the first 1000 rows of my file into an output file and then move the last 1000 rows into another output file.
Any help would be great
Thanks (6 Replies)
Hello!
I have a tab delimited file with values in three columns. Some values occur in all three columns, other values are present in only one or two columns. I would like to sort the file so that rows with no missing values come first, rows with one missing values come next, and rows with two... (9 Replies)
Discussion started by: MBarrett1213
9 Replies
LEARN ABOUT DEBIAN
perlbal::plugin::palimg
Perlbal::Plugin::Palimg(3pm) User Contributed Perl Documentation Perlbal::Plugin::Palimg(3pm)NAME
Perlbal::Plugin::Palimg - plugin that allows Perlbal to serve palette altered images
VERSION
This documentation refers to "Perlbal::Plugin::Palimg" that ships with Perlbal 1.50
DESCRIPTION
Palimg is a perlbal plugin that allows you to modify "GIF" and "PNG" on the fly. Put the images you want to be able to modify into the
"DOCROOT/palimg/" directory. You modify them by adding "/pSPEC" to the end of the url, where SPEC is one of the below defined commands
(gradient, tint, etc).
CONFIGURING PERLBAL
To configure your Perlbal installation to use Palimg you'll need to "LOAD" the plugin then add a service parameter to a "web_server"
service to activate it.
Example "perlbal.conf":
LOAD palimg
CREATE SERVICE palex
SET listen = ${ip:eth0}:80
SET role = web_server
SET plugins = palimg
SET docroot = /usr/share/doc/
SET dirindexing = 0
ENABLE palex
GRADIENTS
You can change the gradient of the image by adding "/pg0011111164ffffff" to the end of the url. 00 is the index where the gradient starts
and 111111 is the color (in hex) of the beginning of the gradient. 64 is the index of the end of the gradient and "ffffff" is the color of
the end of the gradient. Note that all colors specified in hex should be lowercase.
Example:
http://192.168.0.1/palimg/logo.gif/pg01aaaaaa99cccccc
TINTING
You can tint the image by adding "/pt000000aaaaaa" to the end of the url. 000000 should be replaced with the color to tint towards.
"aaaaaa" is optional and defines the "dark" tint color. Both colors should be specified as lowercase hex numbers.
Example:
http://192.168.0.1/palimg/logo.gif/pt1c1c1c22dba1
PALETTE REPLACEMENT
You can specify a palette to replace the palette of the image. Do this by adding up to six sets of seven hex lowercase numbers prefixed
with "/p" to the end of the URL.
Example:
http://192.168.0.1/palimg/logo.gif/p01234567890abcfffffffcccccccddddddd
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to the Perlbal mailing list, http://groups.google.com/group/perlbal
Patches are welcome.
AUTHORS
Brad Fitzpatrick <brad@danga.com> Mark Smith <junior@danga.com>
LICENSE AND COPYRIGHT
Artistic/GPLv2, at your choosing.
Copyright 2004, Danga Interactive Copyright 2005-2007, Six Apart Ltd
perl v5.14.2 2010-12-20 Perlbal::Plugin::Palimg(3pm)