Ask Your Question
0

file_line resource match problems with "tab" seperated string

asked 2019-01-08 19:19:23 -0600

sgarlapa gravatar image

I am trying to modify the string in nscd.conf , but is failing to match the string. eg :

    enable-cache            netgroup        yes

has to be changed to

    enable-cache            netgroup        no

it is TAB seperated strings.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-17 11:35:48 -0600

LeroyT gravatar image

You didn't say what OS but an alternative is to use sed or awk (on a *NIX system, if on Windows consider using http://gnuwin32.sourceforge.net/ or search for equivalent ports of *NIX programs to Windows).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-01-08 19:19:23 -0600

Seen: 99 times

Last updated: Jan 17