CaffeineAddict
Well-Known Member
I have multiple lines that look like this for example:
Here I use
However since I have plenty of such commands it seems redundant to use this method on each line, so I'm considering something like this:
Instead of this:
I want this:
Will I achieve same effect with this second approach?
Will
Note that this will be inside a shell script.
Bash:
time LC_ALL='C' dos2unix --force --newfile "${WORDLIST}" "${WORDLIST}-unix.lst"
LC_ALL='C
to force command to use "C" locale.However since I have plenty of such commands it seems redundant to use this method on each line, so I'm considering something like this:
Instead of this:
Bash:
time LC_ALL='C' command1
time LC_ALL='C' command2
time LC_ALL='C' command3
time LC_ALL='C' command4
time LC_ALL='C' command5
I want this:
Bash:
export LC_ALL='C
time command1
time command2
time command3
time command4
time command5
Will I achieve same effect with this second approach?
Will
export LC_ALL='C
apply to all subsequent commands?Note that this will be inside a shell script.