Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

perl script problem

Status
Not open for further replies.

lokesh garg

Member level 5
Joined
Aug 25, 2009
Messages
87
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
india
Activity points
2,179
i am using the following command to place the semicolon at end of the line using the system command in perl;
system("sed -i 's/$/;/g' Xdata.txt");
it gives me the follonf error--- sed: -e expression #1, char 2: unterminated `s' command

but whe i run sed command(sed -i 's/$/;/g' Xdata.txt) directly on linux terminal, it works successfully.
please tell me how to solve this problem....


thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top