Search Results

Search: Posts Made By: Amulya
3,680
Posted By Akshay Hegde
Alternative might work for you #!/bin/bash ...
Alternative might work for you

#!/bin/bash

replace(){

# Do entry here abc = test1
cat <<EOF
abc test1
efg test2
gfdg test3
EOF

}

SEARCH_IN_FILES="html htm css js"


while read...
3,680
Posted By Akshay Hegde
Try : $ cat log ./testing/file.pdf ...
Try :

$ cat log
./testing/file.pdf
./sample.jpg
./example.html
./testcondition.css

$ echo 'gfdg' >example.html
$ cat example.html
gfdg

$ cat test
#!/bin/bash

SEARCH_IN_FILES="html...
3,680
Posted By SriniShoo
#!/bin/ksh cat sync.log | while read line do ...
#!/bin/ksh
cat sync.log | while read line
do
F_EXT=${line##*.}
if [[ ${F_EXT} == "html" || ${F_EXT} == "htm" || ${F_EXT} == "css" || ${F_EXT} == "js" ]]; then
# sed -i...
Showing results 1 to 3 of 3

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