Search Results

Search: Posts Made By: Vijay81
1,607
Posted By Corona688
You don't really need to export this. All you...
You don't really need to export this. All you want is a shell variable.

If you don't put the text in quotes, it won't know it's all supposed to be in the variable and interpret them line by line....
2,107
Posted By methyl
It always helps to post what Operating System and...
It always helps to post what Operating System and version you have and what Shell you are using. We can't check your syntax.


Right $FILE and $FILE_I are valid names for two different environment...
2,107
Posted By in2nix4life
Not sure what OS and/or shell you're using, but...
Not sure what OS and/or shell you're using, but this worked for me:


for x in file*;do dos2unix -n $x ${x}_new;done
dos2unix: converting file file1 to file file1_new in UNIX format ......
11,149
Posted By Scrutinizer
Hi Vijay, this is called parameter expansion...
Hi Vijay, this is called parameter expansion (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02).
6,579
Posted By Scott
-lt doesn't know (or care) if it's a date in that...
-lt doesn't know (or care) if it's a date in that numeric format. So long as it's a number. If one or both of them is / are blank, then 0 or 00010101 makes no difference.

And, the "default" (if...
Showing results 1 to 5 of 5

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