secondly if you see the file, there are many lines, i only want to extract the node number (250,251..) only if string cpus: is empty after the colon.
Hope i made my question clear
In reply to Re^3: extracting value in a string after checking value after colon ':'
by t-rex
in thread extracting value in a string after checking value after colon ':'
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |