1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ksh help ...

Discussion in 'Programming' started by overdriven, Nov 11, 2005.

  1. #1
    I new to this company, where they use ksh. What changes would have to be made to the following bash script to make it work in ksh. I am by no means a programmer.

    #!/bin/bsh
    for file in $(find . -type f -name '*\.txt')
    do
    cat $file |sed "s/text-to-replace/replacementtext/g" > $file.new
    mv $file.new $file
    done
     
    overdriven, Nov 11, 2005 IP