Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: suryanarayana
1,406
Posted By suryanarayana
Append string in particular postion
i am having file with 9999 records and i have to insert string (SSR) for every 1000 records and after last record also (even though it will not satisfy 1000 records) Please help
874
Posted By suryanarayana
PAN card validation using UNIX
Please help me to validate PAN card using unix

---------- Post updated at 03:06 AM ---------- Previous update was at 02:21 AM ----------


1) The first three letters are sequence of alphabets...
795
Posted By suryanarayana
Cut lines from and to in a textfile
i am having a text file like below


rama
surya
pandu
latha
singh
raja

i want to get the new file from 3 to 5

i.e
pandu
latha
singh


please help
996
Posted By suryanarayana
How to add a text at the beginning of a text files in a folder?
how to add a text ( surya) at the beginning of a text files (so many) in folder


text file:
111111
555555
666666

result:
surya
111111
555555
666666
1,257
Posted By suryanarayana
Insert charactera in 1st position of specific lines using vi editor or sed command
Dear all,

i am having text file like below
surya
rama
ranga
laxman
rajesh
reddy

i want add string (OK) before a text from line 3 to 5

the result will be
surya
rama
OK ranga
OK...
829
Posted By suryanarayana
Search a string in a text and replace
i am having text file below

System will display value URGENT and proceed
System will display value URGENT and proceed
System will display value URGENT and proceed...
3,664
Posted By suryanarayana
Search a string in a text file and add another string at the particular position of a line
I am having a text file which is having more than 200 lines.

EX:

001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 ...
3,006
Posted By suryanarayana
3,006
Posted By suryanarayana
Search a string in a text file and add another string at the end of line
Dear All


I am having a text file which is having more than 200 lines.

EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
...
725
Posted By suryanarayana
Comparision of two text files
Dear all,
I am having two files big files i need an output file as first occurance of file1 field in file2

example:

file1:raju
ranifile2:raju|123
raju|879
rani|623
rani|253result:raju|123...
900
Posted By suryanarayana
Joining two files second column in first file and first column in second file
Dear all

I am having two list files , i want join these two file according second column in first file and first column in second file

1st file
1 A
2 R
3 B
4 s
5 ...
2,269
Posted By suryanarayana
sort a report file having header and footer
I am having report file with header and footer . The details in between header and footer are separated by a pipe charater. I want to sort the file by considering multiple columns in between header...
2,269
Posted By suryanarayana
MNM PRIVATE LIMITED REPORT GENERATED ON...
MNM PRIVATE LIMITED
REPORT GENERATED ON 25.11.2011
CONSOLIDATION REPORT
--------------------------------------
NAME | EMPID | PLACE | RANK | SALARY|
--------------------------------------
A1 ...
2,269
Posted By suryanarayana
sort a report file having header and footer
I am having report file with header and footer . The details in between header and footer are separated by a pipe charater. I want to sort the file by considering multiple columns in between header...
8,395
Posted By suryanarayana
add serial number begining of each line in a text file
Dear All,

i am having text file below

rama 123 done
raju 456 not done
keshav 123 done
...............
............

i want to add a serial number to this file, the output should be

1...
1,050
Posted By suryanarayana
Adding a "|" character for a text file
Dear Sir,

I am having text file with no delimiter like below

RAGAV S S 12358 SALES EXECUTIVE 25000
RAJU R B 64253 SALES EXECUTIVE 28000...
25,973
Posted By suryanarayana
can i get it in reverse order
can i get it in reverse order
25,973
Posted By suryanarayana
sort text having delimiter with "|" (pipe)
i am having text file below
NARGU S S 12358 SALES REP |22| Acccount/s
RAJU R B 64253 SALES REP |12| Acccount/s
RUKMAN S...
2,983
Posted By suryanarayana
conversion of input date in reverse order
Dear all,

I am having date as input 01-08-2011 ...i want to convert it by removing - (hyphens) in reverse order...i.e 20110801


can u please help me
775
Posted By suryanarayana
help to get all dates for given period
i need a text file which contains all dates between given period i.e 01.05.2011 to 12.06.2011

Pls help
945
Posted By suryanarayana
:wall: I checked it but none will solve my problem
:wall: I checked it but none will solve my problem
945
Posted By suryanarayana
help to combile two text files
i am having 2 text files

111|rama
222|krishna
333|jaya

and

111|22|43
222|66|42

i want to combine these two text files,the output should be as follows

111|rama|22|43...
1,598
Posted By suryanarayana
Combile two files - report should be in single row
Dear sir

I am having a file x.lst having
abcd
andother file y.lst having
efgh

I should get report file having the result in a single row as

abcdefgh

pls help
4,432
Posted By suryanarayana
How to get fields in reverse order?
i am having lines like below seperated by "|" (pipe)


abc|xyz
123|567
i have to get the above in reverse order

xyz|abc
567|123

Pls help
17,019
Posted By suryanarayana
Get number of days between given dates
Hi

I need one single command to get number of days between
two given dates.datecalc is not working.

ex.
fromdate:01.04.2010
todate :24.04.2010

i should get the out put as 23
...
Showing results 1 to 25 of 44

 

Featured Tech Videos

All times are GMT -4. The time now is 08:31 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy