10-21-2012
Hi msabhi, perl does have a file rename operator, if you'd forgotten about it.
This User Gave Thanks to elixir_sinari For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Friends,
I prefer to represent my problem with example.
I have two files as below:
file1.txt
---------
abcd.....1234......XY
abcd.....1235......XX
abcd.................
abcd...231236..1111YX
abcd...241236..1112YY
abcd...241237......YY
abce.....1235......YY
file2.txt
-------
... (4 Replies)
Discussion started by: rinku11
4 Replies
2. Solaris
Help...please.
I have a log that contains
Warning Authentication Failed: User GHDT88998HS doesn't exit: The User GHDT88998HS could not be found Mar 22, 2008 5:22:22AM com.hometel.ttm.auth.userlogin.
about maybe a thousand entries failed user acct message
How can I grab just the username... (2 Replies)
Discussion started by: rivendell500
2 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I need help manipulating the file below.
Here is what I needed to do.
First, I have to replace INSUPD to DELETE.
Then I need to change the content of the file around by flipping the contents in the file from the bottom to the top (start from "CMD")
How should I attack this?
Here... (2 Replies)
Discussion started by: sirrtuan
2 Replies
4. Windows & DOS: Issues & Discussions
Hello!
I need to rename 400+ xml files. The name of the specific file is contained in a xml tag in the file itself.
The batch file should rename all these files with strings found in xml tags.
Every xml file has the following tags:
<footnote><para>FILENAME</para></footnote> I have to get... (3 Replies)
Discussion started by: degoor
3 Replies
5. Shell Programming and Scripting
Hi everybody,
I need an urgent help with a BASH script. I have file which contains (besides the other data) the lines with the following structure identified by with keyword PCList:
<PARAMETER NAME="PCList"
TYPE="LIST_STRUCTURE"
MODEL="{,}"
... (1 Reply)
Discussion started by: sameucho
1 Replies
6. UNIX for Dummies Questions & Answers
Hello guys,
should be a very easy questn for you:
I need to delete strings in file1 based on the list of strings in file2.
like file2:
word1_word2_
word3_word5_
word3_word4_
word6_word7_
file1:
word1_word2_otherwords..,word3_word5_others... (7 Replies)
Discussion started by: roussine
7 Replies
7. Shell Programming and Scripting
The question is not as simple as the title... I have a file, it looks like this
<string name="string1">RZ-LED</string>
<string name="string2">2.0</string>
<string name="string2">Version 2.0</string>
<string name="string3">BP</string>
I would like to check for duplicate entries of... (11 Replies)
Discussion started by: raidzero
11 Replies
8. Programming
I have written the code below and would be very grateful for any comments about it (how can I improve it, simplify it,...).
#ifndef String_hh
#define String_hh
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "Vect2.hh"
#include "Vector.hh"
#include... (0 Replies)
Discussion started by: kristinu
0 Replies
9. Shell Programming and Scripting
Not sure if the question posted in another forums can be moved by me.So posting the link here.
https://www.unix.com/unix-advanced-expert-users/221425-shell-script-manipulate-files.html#post302795379
Need your help here. (1 Reply)
Discussion started by: vedanta
1 Replies
10. UNIX for Beginners Questions & Answers
Hello Everyone ,
Iam a newbie to shell programming and iam reaching out if anyone can help in this :-
I have two files
1) Insert.txt
2) partition_list.txt
insert.txt looks like this :-
insert into emp1 partition (partition_name)
(a1,
b2,
c4,
s6,
d8)
select
a1,
b2,
c4, (2 Replies)
Discussion started by: nubie2linux
2 Replies
LEARN ABOUT CENTOS
std::decimal::decimal32
std::decimal::decimal32(3) Library Functions Manual std::decimal::decimal32(3)
NAME
std::decimal::decimal32 -
SYNOPSIS
Public Types
typedef float __decfloat32 __attribute__ ((mode(SD)))
Public Member Functions
decimal32 (decimal64 __d64)
decimal32 (decimal128 __d128)
decimal32 (float __r)
decimal32 (double __r)
decimal32 (long double __r)
decimal32 (int __z)
decimal32 (unsigned int __z)
decimal32 (long __z)
decimal32 (unsigned long __z)
decimal32 (long long __z)
decimal32 (unsigned long long __z)
decimal32 (__decfloat32 __z)
__decfloat32 __getval (void)
void __setval (__decfloat32 __x)
decimal32 & operator*= (decimal32 __rhs)
decimal32 & operator*= (decimal64 __rhs)
decimal32 & operator*= (decimal128 __rhs)
decimal32 & operator*= (int __rhs)
decimal32 & operator*= (unsigned int __rhs)
decimal32 & operator*= (long __rhs)
decimal32 & operator*= (unsigned long __rhs)
decimal32 & operator*= (unsigned long long __rhs)
decimal32 & operator*= (long long __rhs)
decimal32 & operator++ ()
decimal32 operator++ (int)
decimal32 & operator+= (int __rhs)
decimal32 & operator+= (decimal32 __rhs)
decimal32 & operator+= (decimal64 __rhs)
decimal32 & operator+= (decimal128 __rhs)
decimal32 & operator+= (unsigned int __rhs)
decimal32 & operator+= (long __rhs)
decimal32 & operator+= (unsigned long __rhs)
decimal32 & operator+= (long long __rhs)
decimal32 & operator+= (unsigned long long __rhs)
decimal32 & operator-- ()
decimal32 operator-- (int)
decimal32 & operator-= (long __rhs)
decimal32 & operator-= (int __rhs)
decimal32 & operator-= (long long __rhs)
decimal32 & operator-= (unsigned long long __rhs)
decimal32 & operator-= (unsigned long __rhs)
decimal32 & operator-= (decimal128 __rhs)
decimal32 & operator-= (unsigned int __rhs)
decimal32 & operator-= (decimal32 __rhs)
decimal32 & operator-= (decimal64 __rhs)
decimal32 & operator/= (decimal32 __rhs)
decimal32 & operator/= (long long __rhs)
decimal32 & operator/= (unsigned long long __rhs)
decimal32 & operator/= (unsigned long __rhs)
decimal32 & operator/= (decimal64 __rhs)
decimal32 & operator/= (unsigned int __rhs)
decimal32 & operator/= (decimal128 __rhs)
decimal32 & operator/= (long __rhs)
decimal32 & operator/= (int __rhs)
Detailed Description
3.2.2 Class decimal32.
Definition at line 227 of file decimal.
Constructor & Destructor Documentation
std::decimal::decimal32::decimal32 (__decfloat32__z) [inline]
Conforming extension: Conversion from scalar decimal type.
Definition at line 251 of file decimal.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Jun 10 2014 std::decimal::decimal32(3)