Note that on many systems you may not be able to do much with your output file. All of the text processing tools you're used to using on files are only guaranteed to work on text files. And, by definition, text files can't contain more than LINE_MAX bytes per line (including the terminating <newline> character). You can find the value of LINE_MAX on your system using the command:
but 2048 is a common value for this limit.
UNIX systems are frequently more concerned about LINE_MAX than Linux systems, but even when the text processing utilities can handle "unlimited" line lengths, visualizing lines that long is hard for humans. What do you intend to do with the output produced by this script?
:confused:
Hye everybody i would like to know if exist a internet site where i can founs some interesting shell script very usefull
I need to transform hundreds names of files escribed in CAPITAL letter in minuscule letter
do oyu know a mean o do that that thanks to a script or a shell... (1 Reply)
I've got a multitude of text data files that carry exactly the same kind of data. Unfortunately some of them have a different filename format
some are: 'category'_'month'-'year'_act.txt
an example being: daf_Apr-1961_act.txt
and some are: 'category'_ 'year'-'month'_act.txt
an... (16 Replies)
Hi there,
I'm trying to extract automatically opening hours from a website.
The page displaying the schedules is
http://www.natureetdecouvertes.com/pages/gener/view_FO_STORE_corgen.asp?mag_cod=xxx
with xxx going from 101 to 174
I managed to get the following output :
le lundi de 10.30 à... (4 Replies)
Hi,
I want to write a perl script. Which should accept the xml file, one xsl file and the loaction. The perl script should process the xml file using the xsl file and puts the out put in specified location.
For example:
My.perl is perls cript.
my.xml
is like this
<?xml version="1.0"... (2 Replies)
Hi ..
I have one input XML and I want to convert into another XML using parameter mapping through Database through Unix shell script. But I dont have idea how to do that.
And how can I create xsl sheet if mapping is through database tables.
Please help me on this. (1 Reply)
Hi
I have one input xml file
<param name="EXTR_COL" valueDesc="AUTHD_RFLL" value="rx.AUTHD_RFLL" />
There is a mapping parameters in Database.
if EXTR_COL is present in input XML then it is mapped to fieldlist.
so the o/p XML looks like
<fieldlist>
<datasource... (1 Reply)
Hi all, I have to transform a XML file like this:
<?xml version="1.0"?>
<vocabulary>
<voc_id>102</voc_id>
<name>Vocabulary Name</name>
<description>Voc description</description>
<relations>3</relations>
<hierarchy>5</hierarchy>
<word>
<word_id>1</word_id>
... (1 Reply)
Hello all,
I've done a bit of clipboard transformation scripting using xclip before, piping contents with " xclip -o -selection clipboard " to grep, sed, awk, then back into the clipboard with " xclip -i -selection clipboard " ... but I am not a fantastically skilled user of either of the three... (4 Replies)
Hello Experts,
I need to transform rows into column using awk. I tried few things but failed to obtain desired output, as I'm fairly new to awk.
i/p file
100, READ, 12
100, WRITE, 8
100, SEEK, 1
142, READ, 2
142, WRITE, 34
142, SEEK, 3
O/p Needed
PROC_ID 100 142
READ 12 ... (2 Replies)
Discussion started by: sybadm
2 Replies
LEARN ABOUT SUSE
paste
PASTE(1P) POSIX Programmer's Manual PASTE(1P)PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond-
ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME
paste - merge corresponding or subsequent lines of files
SYNOPSIS
paste [-s][-d list] file...
DESCRIPTION
The paste utility shall concatenate the corresponding lines of the given input files, and write the resulting lines to standard output.
The default operation of paste shall concatenate the corresponding lines of the input files. The <newline> of every line except the line
from the last input file shall be replaced with a <tab>.
If an end-of-file condition is detected on one or more input files, but not all input files, paste shall behave as though empty lines were
read from the files on which end-of-file was detected, unless the -s option is specified.
OPTIONS
The paste utility shall conform to the Base Definitions volume of IEEE Std 1003.1-2001, Section 12.2, Utility Syntax Guidelines.
The following options shall be supported:
-d list
Unless a backslash character appears in list, each character in list is an element specifying a delimiter character. If a backslash
character appears in list, the backslash character and one or more characters following it are an element specifying a delimiter
character as described below. These elements specify one or more delimiters to use, instead of the default <tab>, to replace the
<newline> of the input lines. The elements in list shall be used circularly; that is, when the list is exhausted the first element
from the list is reused. When the -s option is specified:
* The last <newline> in a file shall not be modified.
* The delimiter shall be reset to the first element of list after each file operand is processed.
When the -s option is not specified:
* The <newline>s in the file specified by the last file operand shall not be modified.
* The delimiter shall be reset to the first element of list each time a line is processed from each file.
If a backslash character appears in list, it and the character following it shall be used to represent the following delimiter characters:
<newline>.
<tab>.
\
Backslash character.
Empty string (not a null character). If '