This worked. I wasn't aware that the command could follow the address that i wanted to match. why would sed's/<address>/cmd/cmdsubstitute/' now work seems its worked for me in the past which is why i was confused on it not working now?
Thanks for taking the time to respond earlier...
hello
I have an file that has data like this:
prod:admin:batch:weekend:[highlight #FCE94F]endday_load_billing[[/highlight]:SERVER:server1
prod:admin:batch:daily: [highlight #FCE94F]sunday_load_pricing_job1[/highlight]:SERVER:server1
prod:admin:batch:daily:[highlight...
Hello -
I'm using a shell script to create a CSV file to load the data into JIRA.
I've searched the net but can find how a .csv cell needs to be formated to handle multilines from a grep output.
I'm grepping for entries from a file and it may return 1 line or 10 or more. I'd like to get say...
Has anyone experienced finding old (dead pids)even thought they dont report "defunct" that eventually eats up you open files availability?
I have a server that after a script that runs remote ssh cmds to my production servers leaves the server eventually needing to be rebooted I can sort out why...
Hello,
why cant i get this to work in my bash script? I have multiple files with the same name but different file extension.
example
batch.prd
batch.uat
batch.dev
_filename="repo/batch"
seek=$(grep "job name_A" "$_filename*" |sort -u)
I've tried "$_filename.*" and "$_filename./*" but bash...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.