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
wml::std::logo
wml::std::logo(3) EN Tools wml::std::logo(3)NAME
wml::std::logo - Logo Insertion
SYNOPSIS
#use wml::std::logo
<logo [attributes]>
DESCRIPTION
This include file provides the "<logo>" tag to insert logo images. The logo is selected via attribute "name". The following logos are
available:
Name Inserted Hint Inserted URL
-------------------------------------- ----------------------------
apache Apache Webserver Project http://www.apache.org/
freebsd FreeBSD Operating System http://www.freebsd.org/
gimp GNU Image Manipulation Program http://www.gimp.org/
htdig Internet search engine http://www.htdig.org/
linux Linux Operating System http://www.linux.org/
netbsd NetBSD Operating System http://www.netbsd.org/
openbsd OpenBSD Operating System http://www.openbsd.org/
php PHP Hypertext Preprocessor http://www.php.net/
vim Vi Improved Editor http://www.vim.org/
wml Website META Language http://www.engelschall.com/sw/wml/
xemacs XEmacs Editor http://www.xemacs.org/
ATTRIBUTES
"name"
The "name" attribute selects which logo is wanted. The table above lists valid names, and wml is used by default.
"base"
Usually the logos are copied into logo-xxxxxx.png where "xxxxxx" is the name of the logo. When you use a "base=foo" attribute, then
the resulting files are named foo.logo-xxxxxx.png. Actually you can even use a complete filename including a directory prefix, i.e.
when you use "base=../../common/foo" attribute, then the images are created as ../../common/foo.logo-xxxxxx.png.
And for most flexibility when no base is specified and the variable "LOGO_BASE" is defined (usually from within a .wmlrc file via
"-LOGO_BASE~path/to/logo/dir/base") it is used. Use this feature to copy the logos to a particular directory.
You may also use the variable "IMAGE_BASE" which defines in a single line all base names for images generated by WML.
"format"
Logos are available in PNG or GIF formats. This attribute is the filename extension of the desired format, i.e. respectively "png" and
"gif". Default is "png" extension ; this default can be changed via the "IMAGE_FORMAT" variable.
"file"
This attribute defines the logo filename. It overrides all other computed values.
"target"
If the "target" attribute is used, it refers to a target frame or window where the hyperlink is redirected to.
"notag"
This forces "<logo>" to expand to nothing, i.e. no resulting "<img>" tag. The image itself is still generated. In combination with the
above "file" attribute this can be used to generate images to particular files which can be used at other positions, for instance
inside "<rollover>" (see wml::des::rollover(3)) tags.
EXAMPLE
This example only copy the vim logo to "$(IMAGES)/logo-vim.png" without any output:
<logo name=vim format=png base="$(IMAGES)/logo" notag>
AUTHORS
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Denis Barbier
barbier@engelschall.com
REQUIRES
Internal: P1, P2, P3
External: --
HISTORY
For backward compatibility a logo named "php3" is also available.
Inluding the version number was not a really good idea, use the
logo "php" instead. Expect that the logo "php3" will be removed in
future releases.
SEE ALSO wml(1)EN Tools 2014-04-16 wml::std::logo(3)