Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Command garbled
Name: nimi Date: September 12, 2006 at 22:21:26 Pacific OS: Unix CPU/Ram: NA Product: NA
Comment:
YMD=`date +%d/%M/%Y`
I have an existing script with the following output (in.txt) 1|INTNAT|0|12963|12963|0|CANGT
I would like to run a script to insert the date (YMD) at the end of each row in a text file. My output should be
1|INTNAT|0|12963|12963|0|CANGT|13/09/2006
I used the below command and it is giving me command garbled. What is wrong with the command?
Summary: I have the following in testf file: #!/bin/ksh sed 's/^test/ps -ef | grep '`pwd`'/config |awk '{print "kill -9 " $2}' | sh /' start I'm getting the following when I try to replace the word test with "...
Summary: When I execute this function in my Korn shell, #! /bin/ksh typeset srcDir=/home/iyappan typeset sedfile=${srcDir}/hi print "1,2" >> $sedfile It works.That is it puts the output correctly into th...