Search Results

Search: Posts Made By: zulabc
1,024
Posted By zulabc
How to simplify this code?
hi guys need your help...how to simplify this script...

for i in `cat dmp.txt`
do

model=$i
more $model | grep : | cut -d ":" -f 2- | grep : | grep -v "=" > temp1
more $model...
902
Posted By zulabc
read line
hello guys need ur help..
I've 2 input file my.text file and my.csv file
below my.txt

a
b
e

and my.csv

a,1,2,3,4,
b,5,6,7,8
c,10,11,12,13
d,15,16,17,18
e,7,6,5,3,2

and i want my...
Forum: Programming 03-29-2012
1,378
Posted By zulabc
.idt file to csv file
hi frnds
can somebody help me how to convert data from unix file to csv using c++ e.g

I have input called file.idt

COMPANY = MYCOMPONY
SECTORTYPE = SECTORA
ADDRESS = MY HOME
BILL =...
3,457
Posted By zulabc
no script file... the file is similar to the pdf...
no script file... the file is similar to the pdf file...i need to open the file and save as to the same name then the file working properly...the problem is i have thousand of file..so i need a...
3,457
Posted By zulabc
open file and save as script
hi guys

i have a problem with my file did not work as usual. The problem is i need to open the file and save as using same name and after that the file is work properly. Is it any shell script can...
2,453
Posted By zulabc
thanks for the code and its work fine and return...
thanks for the code and its work fine and return what i want..the problem is
I'm using the for do loop so the output will print end of the line multiple .txt
is it any possibility to use "if...
2,453
Posted By zulabc
thanks for help but using this code will put .txt...
thanks for help but using this code will put .txt all of the end of line..i want to put the .txt in the specific line
2,453
Posted By zulabc
please help me ---------- Post updated at...
please help me

---------- Post updated at 09:53 PM ---------- Previous update was at 09:52 PM ----------



please help me
2,453
Posted By zulabc
How to use sed to put string end of line?
I have several file as below, and i want to put .txt to specific text contain ^main=EXE^cmd=run script /usr/prog/bd_,

file1
7.9102 12.1528 16.3672 7.4002
^main=EXE^cmd=run script...
1,923
Posted By zulabc
my fault actually my input file is in different...
my fault actually my input file is in different file

file 1
.........
DEV=LONG^cmd/usr/bak/ade4^"
................

file 2
...................
DEV=LONG^cmd/usr/bak/ban3^"...
1,923
Posted By zulabc
Using sed to put text end of line
how to use sed to put .txt end of line..my input file below

file1
make=^bak12^".
DEV=LONG^cmd/usr/bak/ade4^"
.....................................

file 2
make=^and_LONG/bak12^"....
1,285
Posted By zulabc
Row to column
can anybody help me..
how to transfer data from row become column

my file is below
aaa
bbb
ccc
ddd

and become
aaa bbb ccc ddd
1,582
Posted By zulabc
thanks bro
thanks bro
1,582
Posted By zulabc
its worked..thanks, can u explain the code
its worked..thanks, can u explain the code
1,582
Posted By zulabc
merge two file
how to merge two file, i have 2 input file; file_1 & file_2, so i want the output file_3 as below

file_1
NAME
aa
111
222
bb.txt
111
222
cc
111
111
dd
222 ...
1,658
Posted By zulabc
my mistake some of the texts don't have underscore
my mistake some of the texts don't have underscore
1,658
Posted By zulabc
put string end of the line
I've a problem to put .h end of the line..below my input file
fg_a
bb
fg_b
bb
fg_c
bb
fg_d
aa
fg_f
ee

and i want the output file as below
fg_a.h
bb
fg_b.h
bb
fg_c.h
bb
fg_d.h
3,255
Posted By zulabc
thanks bro and how to reverse it... let say NR...
thanks bro and how to reverse it...
let say NR of dd is 5 so how to know NR 5 is equal to dd
3,255
Posted By zulabc
print NR
i have input file as below and how do i know the dd NR using awk

aa
bb
cc
...
dd
ee
ff
1,277
Posted By zulabc
put working directory in file
how to put pwd in my file
my working directory is /usr/my_dir
below my file

aaaaaa
bbbbbb

so output file become

/usr/my_dir
aaaaaa
bbbbbb
7,791
Posted By zulabc
thanks bro...
thanks bro...
7,791
Posted By zulabc
how to combine 2 files become 1 file let say I've...
how to combine 2 files become 1 file let say I've 2 input file#1 and file#2
file#1 file#2
aaaaa eeeee
bbbbb ffffffff
ccccc ggggg
ddddd hhhhh

and the output file...
7,791
Posted By zulabc
thank u very2 much...
thank u very2 much...
7,791
Posted By zulabc
if i want add more line let say dd1005 05 ...
if i want add more line let say
dd1005 05
dd1006 06 and so on
7,791
Posted By zulabc
can i add new line using awk my input file ...
can i add new line using awk

my input file
aa1001 01
bb1002 02
cc1003 03

want to add dd1004 04 so the output file become

aa1001 01
bb1002 02
cc1003 ...
Showing results 1 to 25 of 38

 
All times are GMT -4. The time now is 12:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy